[Bug 176154] Possible memory corruption: ioctl overflowed 3rd argument

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 19 21:21:04 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Possible memory corruption: ioctl overflowed 3rd argument


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176154





------- Additional Comments From jvdias at redhat.com  2005-12-19 16:20 EST -------
Hi armin -

You need to be certain that the $tochdr / $tocentry variables 
are of sufficient length to hold the maximum length of data that
ioctl could return for these ioctls - are you sure this is only 10 bytes ?
( I don't have a music CD with me here to test ...) 
I think it might be clearer to specify the maximum length explicitly:
   ...$tochdir = ' 'x10;
   ...$tocentry.=' 'x10;

Regards,
Jason.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list