bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] stdlib: avoid canonicalize_file_name contradiction


From: Jim Meyering
Subject: [PATCH] stdlib: avoid canonicalize_file_name contradiction
Date: Sat, 4 Jan 2020 22:24:53 -0800

I expect to push something like the attached tomorrow:

stdlib: avoid canonicalize_file_name contradiction
* lib/stdlib.in.h (canonicalize_file_name): Remove the nonnull
attribute from its declaration. tests/test-canonicalize-lgpl.c
passes null_ptr () to it, which (via this contradiction) would
provoke a segfault from GCC 10. See a small reproducer and
discussion in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93156

Attachment: canonicalize_file_name-nonnull-vs-gcc10-segfault.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]