v.25.6Bug Fix (user-visible misbehavior in an official stable release)

Fix out-of-bounds read

Fix out-of-bounds read in the Npy format happening when writing to a table with the URL engine. This closes #81356. #81502 (Alexey Milovidov).