1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-07 22:42:06 +03:00
Volker Weißmann 7bb8045ec0 Fix FORTIFY_SOURCE false positive
When -D_FORTIFY_SOURCE=2 was given during compilation,
sprintf and similar functions will check if their
first argument is in read-only memory and exit with
*** %n in writable segment detected ***
otherwise. To check if the memory is read-only, glibc
reads frpm the file "/proc/self/maps". If opening this
file fails due to too many open files (EMFILE), glibc
will now ignore this error.

Fixes [BZ #30932]

Signed-off-by: Volker Weißmann <volker.weissmann@gmx.de>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2023-10-04 08:07:43 -03:00
..
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-10-02 10:54:27 -03:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-09-12 14:08:53 +00:00
2023-06-26 10:17:47 -03:00
2023-07-17 10:08:10 -04:00
2023-07-17 10:08:10 -04:00
2023-04-26 08:06:44 -04:00
2023-06-26 10:17:39 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-06-28 09:18:23 -03:00
2023-06-28 09:18:23 -03:00
2023-09-05 13:08:59 -03:00