[mythtv-commits] Ticket #9837: [PATCH] Perl binding - stream_backend_file broken
MythTV
noreply at mythtv.org
Sat Jun 11 19:20:12 UTC 2011
#9837: [PATCH] Perl binding - stream_backend_file broken
----------------------------------+------------------------
Reporter: dbadia@… | Owner: beirdo
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: Bindings - Perl | Version: 0.24-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
----------------------------------+------------------------
Perl stream_backend_file seems to be broken in 24-fixes and head in the
following ways:
1. When sending the FileTransfer command, it doesn't include all requied
parameters, causing the backend to responsd with
"malformed_filetransfer_command"
2. The file being requested must start with a / (this is more an ease of
use change as opposed to a bug)
3. The length of the file to be streamed is not parsed correctly when >
2147483647, which results in corrupt or zero length files being written to
disk
This patch fixes these issues. Patch applies cleanly to 24-fixes and head
The file length fix was tested against files of lengths:
1. 2012338647 (regression)
2. 2500703244 (requires conversion to unsigned to be interpreted
correctly)
3. 31219659384 (test longlong)
Thanks
Dave
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9837>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list