public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/1499] New: syslog.c:openlog_internal cuts _PATH_LOG
@ 2005-10-18 22:23 andi5 dot py at gmx dot net
  2005-10-18 22:26 ` [Bug libc/1499] " andi5 dot py at gmx dot net
  2005-12-23  4:37 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: andi5 dot py at gmx dot net @ 2005-10-18 22:23 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/1499] syslog.c:openlog_internal cuts _PATH_LOG
  2005-10-18 22:23 [Bug libc/1499] New: syslog.c:openlog_internal cuts _PATH_LOG andi5 dot py at gmx dot net
@ 2005-10-18 22:26 ` andi5 dot py at gmx dot net
  2005-12-23  4:37 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: andi5 dot py at gmx dot net @ 2005-10-18 22:26 UTC (permalink / raw)
  To: glibc-bugs


------- 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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/1499] syslog.c:openlog_internal cuts _PATH_LOG
  2005-10-18 22:23 [Bug libc/1499] New: syslog.c:openlog_internal cuts _PATH_LOG andi5 dot py at gmx dot net
  2005-10-18 22:26 ` [Bug libc/1499] " andi5 dot py at gmx dot net
@ 2005-12-23  4:37 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2005-12-23  4:37 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2005-12-23 04:37 -------
I checked in a patch on the trunk.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-23  4:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-18 22:23 [Bug libc/1499] New: syslog.c:openlog_internal cuts _PATH_LOG andi5 dot py at gmx dot net
2005-10-18 22:26 ` [Bug libc/1499] " andi5 dot py at gmx dot net
2005-12-23  4:37 ` drepper 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).