Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: wrong usage of strcpy in parsing command line
https://bugzilla.redhat.com/show_bug.cgi?id=579610
Summary: wrong usage of strcpy in parsing command line
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: eblook
AssignedTo: petersen(a)redhat.com
ReportedBy: ueno(a)unixuser.org
QAContact: extras-qa(a)fedoraproject.org
CC: petersen(a)redhat.com, i18n-bugs(a)lists.fedoraproject.org
Estimated Hours: 0.0
Classification: Fedora
Created an attachment (id=404590)
--> (
https://bugzilla.redhat.com/attachment.cgi?id=404590)
patch to fix wrong usage of strcpy
eblook.c:parse_command_line() uses strcpy on overlapped memory areas. This may
corrupt the original command line arguments. Actually, the following eblook
command is not parsed correctly on my environment F-13 (x86-64) with eblook
version 1.6.1-6.
$ eblook
Warning: you should specify a book directory first
eblook> set prompt "eblook> "
eblook show prompt
eblook
eblook
Of course, the line after "eblook> set prompt..." should start with
"eblook> "
not "eblook ".
I'll notify the upstream, but the patch is attached.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.