public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27610] New: Failure to check return values from fscanf in support/test-container.c (check_for_unshare_hints)
@ 2021-03-18 18:58 pfrankli at redhat dot com
0 siblings, 0 replies; only message in thread
From: pfrankli at redhat dot com @ 2021-03-18 18:58 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27610
Bug ID: 27610
Summary: Failure to check return values from fscanf in
support/test-container.c (check_for_unshare_hints)
Product: glibc
Version: 2.33
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: pfrankli at redhat dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
fscanf return value not checked at line 667:
if (f != NULL)
{
i = 99; /* Sentinel. */
fscanf (f, "%d", &i);
if (i == 0)
fscanf return value not checked at line 682:
/* ALT Linux has an alternate way of doing the same. */
f = fopen ("/proc/sys/kernel/userns_restrict", "r");
if (f != NULL)
{
i = 99; /* Sentinel. */
fscanf (f, "%d", &i);
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-18 18:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 18:58 [Bug libc/27610] New: Failure to check return values from fscanf in support/test-container.c (check_for_unshare_hints) pfrankli at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).