URL:
<http://savannah.gnu.org/bugs/?46453>
Summary: improper use of readlink causes sigsegv in 2.0.0
Project: Denemo
Submitted by: rrankin
Submitted on: Mon 16 Nov 2015 04:22:28 PM AEDT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
readlink does not 0 terminate returned buffer.
It is correctly used in src/core/binreloc.c but not src/core/utils.c.
This bug can causes sigsegv crashes.
Attached is a proposed patch which also includes ctype.h for tolower is
declared.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 16 Nov 2015 04:22:28 PM AEDT Name: readlink.patch Size: 827B By:
rrankin
<http://savannah.gnu.org/bugs/download.php?file_id=35468>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46453>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel