From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2953 Path: news.gmane.org!not-for-mail From: William Haddon Newsgroups: gmane.linux.lib.musl.general Subject: Re: Weird bug in syslog Date: Wed, 20 Mar 2013 21:43:16 -0400 Message-ID: <1363830196.3569.0@eros> References: <1363721555.2099.0@eros> <20130320124125.GL19010@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363830230 9543 80.91.229.3 (21 Mar 2013 01:43:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Mar 2013 01:43:50 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2954-gllmg-musl=m.gmane.org@lists.openwall.com Thu Mar 21 02:44:16 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UIUYB-00079p-6i for gllmg-musl@plane.gmane.org; Thu, 21 Mar 2013 02:44:15 +0100 Original-Received: (qmail 24072 invoked by uid 550); 21 Mar 2013 01:43:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 24058 invoked from network); 21 Mar 2013 01:43:48 -0000 In-Reply-To: <20130320124125.GL19010@port70.net> (from nsz@port70.net on Wed Mar 20 08:41:26 2013) X-Mailer: Balsa 2.4.1 Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:2953 Archived-At: On 03/20/2013 08:41:26 AM, Szabolcs Nagy wrote: > > --- musl-0.9.9/src/misc/syslog.c > > +++ src/src/misc/syslog.c > > @@ -90,9 +90,11 @@ > > priority, timebuf, > > log_ident ? log_ident : "", > > "["+!pid, pid, "]"+!pid); > > + if (l > sizeof buf) l =3D sizeof buf - 1; >=20 > l >=3D sizeof buf Oops.