OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Bugtraq archives for 3rd quarter (Jul-Aug) 1995: Re: [8lgm]-Advisory-22.UNIX.syslog.2-Aug-1995

Re: [8lgm]-Advisory-22.UNIX.syslog.2-Aug-1995

Perry E. Metzger (perrypiermont.com)
Tue, 29 Aug 1995 03:08:48 -0400

Mark Thomas writes:
> If anyone comes up with diffs to SunOS syslog() source for those
> who have source access, or a replacement syslog.c routine to build into
> libc, please post.

I've already built patches for 4.4lite BSD derived systems, which I'll
post in a little while after I've tested them better. Unfortunately,
they require the use of snprintf, which is not standard on anything
other than 4.4BSD. I can't think of any way to get around this -- you
need to bounds check the sprintfs in syslog.c and the only way I know
to do that is snprintf.

I'll point out that this opens up a whole new wonderful set of holes
that no one thought of before.

Perry