[Bug 392372] Re: cueconvert crashes when converting .toc to .cue
This bug was fixed in the package cuetools - 1.3.1-7ubuntu1 --- cuetools (1.3.1-7ubuntu1) lucid; urgency=low * debian/patches/10-buffer-overflow-fix.dpatch: (LP: #392372) + it turns out that the problem was a buffer whose size was too small to include the null character at the end. A sprintf() of a string of size 9 into a 9 bytes buffer: sprintf(msf, "%02d:%02d:%02d", minutes, seconds, frames); Thx Christian Hudon for the patch -- Stephan HermannTue, 16 Feb 2010 16:14:53 + ** Changed in: cuetools (Ubuntu) Status: In Progress => Fix Released -- cueconvert crashes when converting .toc to .cue https://bugs.launchpad.net/bugs/392372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 392372] Re: cueconvert crashes when converting .toc to .cue
working on it ** Changed in: cuetools (Ubuntu) Status: New => In Progress ** Changed in: cuetools (Ubuntu) Assignee: (unassigned) => Stephan Hermann (shermann) -- cueconvert crashes when converting .toc to .cue https://bugs.launchpad.net/bugs/392372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 392372] Re: cueconvert crashes when converting .toc to .cue
After some digging, it turns out that the problem was a buffer whose size was tool small to include the null character at the end. A sprintf() of a string of size 9 into a 9 bytes buffer: sprintf(msf, "%02d:%02d:%02d", minutes, seconds, frames); The attached patch fixes the problem by increasing the size of the msf char array to 10 character (so it can also hold the null character at the end of the string). Please apply. ** Attachment added: "Fixes buffer overflow" http://launchpadlibrarian.net/37273741/cuetools.patch -- cueconvert crashes when converting .toc to .cue https://bugs.launchpad.net/bugs/392372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 392372] Re: cueconvert crashes when converting .toc to .cue
** Attachment added: "cd.toc" http://launchpadlibrarian.net/28387352/cd.toc -- cueconvert crashes when converting .toc to .cue https://bugs.launchpad.net/bugs/392372 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs