Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4207 closed defect (fixed) doesn't check return code of read.

Reported by: andrew@… Owned by: xris
Priority: minor Milestone: unknown
Component: perl / nuvexport Version: 0.20.2
Severity: medium Keywords:
Cc: Ticket locked: no


When the data is read from the backend there is no checking of the return code for the read.

This can lead to $length being the empty string which then causes Perl to throw an error when it tries to do integer($length).

The attached patch protects from this. I haven't seen the problem personally (it was reported to me) so I haven't been able to fully check it (but the reporter is no longer seeing errors).

Attachments (1) (670 bytes) - added by andrew@… 14 years ago.
Patch for

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by andrew@…

Attachment: added

Patch for

comment:1 Changed 14 years ago by xris

Resolution: fixed
Status: newclosed

(In [15001]) Convert patch to apply to new IO::INET library. Avoids perl errors when the backend is unreachable. Closes #4207

comment:2 Changed 14 years ago by anonymous

Is there any chance of getting this applied 0.20-fixes as well?


comment:3 Changed 14 years ago by xris

(In [15016]) remove a weird stray character that got added in [15001] (re #4207)

Note: See TracTickets for help on using tickets.