Opened 18 years ago
Closed 18 years ago
Last modified 18 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)
by , 18 years ago
Attachment: | MythTV.pm.patch added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch for MythTV.pm