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

bugzilla at redhat.com bugzilla at redhat.com
Mon Dec 19 20:47:46 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


armin at xos.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |armin at xos.net




------- Additional Comments From armin at xos.net  2005-12-19 15:47 EST -------
this the maintainer ;-)

could you try this patch instead:

--- projects/CDDB_get/CDDB_get.pm       Thu Oct  6 08:00:46 2005
+++ CDDB_get.pm Fri Dec 16 08:32:30 2005
@@ -129,7 +129,7 @@

 sub read_toc {
   my $device=shift;
-  my $tochdr="";
+  my $tochdr="          ";

   sysopen (CD,$device, O_RDONLY | O_NONBLOCK) or die "cannot open cdrom [$!]
[$device]";
   ioctl(CD, $CDROMREADTOCHDR, $tochdr) or die "cannot read toc [$!] [$device]";
@@ -184,6 +184,7 @@
     my ($min,$sec,$frame);
     unless($os =~ /BSD/) {
       $tocentry=pack "CCC", $i,0,$CDROM_MSF;
+      $tocentry.="     ";
       ioctl(CD, $CDROMREADTOCENTRY, $tocentry) or die "cannot read track $i
info [$!] [$device]";
       ($min,$sec,$frame)=unpack "CCCC", substr($tocentry,4,4);
     } else {

-- 
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