Opened 16 years ago
Last modified 14 years ago
#1451 new defect
libdvdread: UDFGetVolumeIdentifier fails
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | core |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | Dominik 'Rathann' Mierzejewski, dank@… | |
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
UDFGetVolumeIdentifier calls UDFGetPVD calls UDFGetDescriptor which fails because bufsize is to small (8 bytes). The error is in the call.
if(!UDFGetDescriptor( device, 1, pvd_buf, sizeof(pvd_buf)))
sizeof(pvd_buf) gives the size of the pointer and not what it points at. It should be:
if(!UDFGetDescriptor( device, 1, pvd_buf, DVD_VIDEO_LB_LEN))
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Affects me, too. See attached example.