This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Tested on i686-linux, committed on trunk This patch fixes a bug that caused unallocated memory to be addressed when calling GNAT.OS_Lib.Locate_Regular_File with an empty string as File_Name, potentially causing undetermined return results at best, or, at worst, segmentation violations. 2005-12-05 Nicolas Setton <setton@adacore.com> * adaint.c (__gnat_locate_regular_file): Return immediately if file_name is empty.
Attachment:
difs.4
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |