Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: easy pr -c file pr -v file Steps to Reproduce: 1. download utf file 2. run `pr -c or -v` on it 3. Actual results: buffer overflow Expected results: no backtrace Additional info: # rpm -qa coreutils coreutils-8.4-13.el6.x86_64 # cat /etc/redhat-release Red Hat Enterprise Linux Workstation release 6.1 (Santiago)
Created attachment 551116 [details] UTF8 file
Thanks Alex for report - fix will be similar to the yesterday's fix for this issue from Fedora - http://lists.fedoraproject.org/pipermail/scm-commits/2012-January/700258.html .
Note: this crash does occur only with mutlibyte locales (and is introduced by multibyte patch)
Created attachment 555516 [details] proposed fix There were actually three independent bugs in the code. See the comments inside the patch for details.
The fixes are now included in coreutils-8.15-2.fc17.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0933.html