https://bugzilla.novell.com/show_bug.cgi?id=704230 https://bugzilla.novell.com/show_bug.cgi?id=704230#c0 Summary: xv aborts if given a file name > 119 characters Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: wjones@fluke.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=438615) --> (http://bugzilla.novell.com/attachment.cgi?id=438615) patch User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 File names up to 119 characters are fine. File names 120 characters or longer consistently cause a buffer overflow. It's the length of the base file name, rather than the total path length that matters. The first part of the error message looks like this: *** buffer overflow detected ***: xv terminated ======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x40)[0xb73b8070] /lib/libc.so.6(+0xe8e27)[0xb73b5e27] /lib/libc.so.6(__strcpy_chk+0x3e)[0xb73b508e] xv[0x80518b0] xv[0x8053949] xv[0x8056be0] /lib/libc.so.6(__libc_start_main+0xfe)[0xb72e3c2e] xv[0x804d361] Reproducible: Always Steps to Reproduce: 1. Run "xv verylongfilename.png" 2. 3. Actual Results: *** buffer overflow detected ***: xv terminated Expected Results: xv displays image Patch attached -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.