|
From: | Roy Rankin |
Subject: | [Denemo-devel] [bug #46453] improper use of readlink causes sigsegv in 2.0.0 |
Date: | Mon, 16 Nov 2015 05:22:29 +0000 |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |