Re: CMSG_DATA man page

2017-04-03 Thread Otto Moerbeek
On Mon, Apr 03, 2017 at 09:45:06PM +0200, Otto Moerbeek wrote: > On Mon, Apr 03, 2017 at 09:27:52AM +, Luke Small wrote: > > > I'm sure you know more about it than I do. Probably the simplest answer > > would be to get rid of the example in the man page. You can google a > > correct answer.

Re: CMSG_DATA man page

2017-04-03 Thread Otto Moerbeek
On Mon, Apr 03, 2017 at 09:27:52AM +, Luke Small wrote: > I'm sure you know more about it than I do. Probably the simplest answer > would be to get rid of the example in the man page. You can google a > correct answer. It is in several places using the same message='F'; Unless > y'all desire

Re: segfault in grep

2017-04-03 Thread Ted Unangst
Michael Santos wrote: > >Description: > > Use of uninitialized value in grep. > > >How-To-Repeat: > > $ grep -o "" /etc/hosts > Segmentation fault (core dumped) > > >Fix: Thanks.

segfault in grep

2017-04-03 Thread Michael Santos
>Synopsis: segfault in grep >Category: user >Environment: System : OpenBSD 6.0 Details : OpenBSD 6.0 (GENERIC) #2148: Tue Jul 26 12:55:20 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC Architecture:

Re: ASN1_GENERALIZEDTIME_print: vfprintf %s NULL

2017-04-03 Thread Bob Beck
yeah, do it that way On Mon, Apr 3, 2017 at 7:00 AM, Joel Sing wrote: > On Monday 03 April 2017 11:37:19 Stuart Henderson wrote: > > On 2017/04/03 11:19, Stuart Henderson wrote: > > > That format string doesn't show up in nginx at all. But it is in > > >

Re: ASN1_GENERALIZEDTIME_print: vfprintf %s NULL

2017-04-03 Thread Joel Sing
On Monday 03 April 2017 11:37:19 Stuart Henderson wrote: > On 2017/04/03 11:19, Stuart Henderson wrote: > > That format string doesn't show up in nginx at all. But it is in > > /usr/src/lib/libcrypto/asn1/t_x509.c. Looks like "f" not getting set > > if there are no fractions of a second in the

Re: ASN1_GENERALIZEDTIME_print: vfprintf %s NULL

2017-04-03 Thread Stuart Henderson
On 2017/04/03 11:19, Stuart Henderson wrote: > That format string doesn't show up in nginx at all. But it is in > /usr/src/lib/libcrypto/asn1/t_x509.c. Looks like "f" not getting set > if there are no fractions of a second in the ASN1_GENERALIZEDTIME? Too ugly? Index: t_x509.c

ASN1_GENERALIZEDTIME_print: vfprintf %s NULL

2017-04-03 Thread Stuart Henderson
Seeing a bunch of these in /var/log/messages after updating a server. Apr 3 10:25:18 somehost nginx: vfprintf %s NULL in "%s %2d %02d:%02d:%02d%.*s %d%s" Apr 3 10:27:41 somehost nginx: vfprintf %s NULL in "%s %2d %02d:%02d:%02d%.*s %d%s" Apr 3 10:27:50 somehost nginx: vfprintf %s NULL in "%s

Re: CMSG_DATA man page

2017-04-03 Thread Luke Small
I'm sure you know more about it than I do. Probably the simplest answer would be to get rid of the example in the man page. You can google a correct answer. It is in several places using the same message='F'; Unless y'all desire the programmer to be able to read the man page because they may not

Re: CMSG_DATA man page

2017-04-03 Thread Stuart Henderson
On 2017/04/02 13:15, Luke Small wrote: (quote word-wrapped and trimmed) >Can the code be fixed to not > cause problems when msg.msg_iov is zero? At first blush, that would > seem like a simple fix to me. I assume that such a fix wouldn't break > POSIX or