This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/20017] New: resolv: Use gmtime_r instead of gmtime in p_secstodate
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 28 Apr 2016 10:05:55 +0000
- Subject: [Bug network/20017] New: resolv: Use gmtime_r instead of gmtime in p_secstodate
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20017
Bug ID: 20017
Summary: resolv: Use gmtime_r instead of gmtime in p_secstodate
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: network
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
Flags: security-
resolv/res_debug.c is compiled with HAVE_TIME_R, so it calls gmtime instead of
gmtime_r, clobbering the global time value. As a result, p_secstodate and
ns_sprintrrf are not thread-safe.
--
You are receiving this mail because:
You are on the CC list for the bug.