This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/1499] syslog.c:openlog_internal cuts _PATH_LOG


------- Additional Comments From andi5 dot py at gmx dot net  2005-10-18 22:26 -------
I am sorry for reposting, but I did not plan it that way:

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 :)

-- 


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]