This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1499] New: syslog.c:openlog_internal cuts _PATH_LOG
- From: "andi5 dot py at gmx dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Oct 2005 22:23:33 -0000
- Subject: [Bug libc/1499] New: syslog.c:openlog_internal cuts _PATH_LOG
- Reply-to: sourceware-bugzilla at sourceware dot org
Glibc 2.3.5 ( GCC 3.4.4, BinUtils 2.16.1, Linux 2.6.13.2 ) After changing misc/sys/syslog.h _PATH_LOG to something different, sysdeps/generic/syslog.c:openlog_internal starts cutting this path to 14 bytes while copying to a sockaddr, maybe because it thinks it knows the variable. I do not know the correct solution to this, at least I did not find documentation that clearly states that this macro is fixed or has a maximal length. But I guess allocating enough memory for it should not destabilize glibc. PS: If this is wontfix or similar, i would still like to see some patch for it :)
--
Summary: syslog.c:openlog_internal cuts _PATH_LOG
Product: glibc
Version: 2.3.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: andi5 dot py at gmx dot net
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=1499
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.