Opened 16 years ago
Closed 16 years ago
Last modified 16 years ago
#4207 closed defect (fixed)
MythTV.pm doesn't check return code of read.
Reported by: | Owned by: | xris | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | perl / nuvexport | Version: | 0.20.2 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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)
Change History (4)
Changed 16 years ago by
Attachment: | MythTV.pm.patch added |
---|
comment:1 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 16 years ago by
Is there any chance of getting this applied 0.20-fixes as well?
Thanks!
Note: See
TracTickets for help on using
tickets.
Patch for MythTV.pm