Re: Fix a segmentation fault in awk

2019-08-12 Thread Chris Cappuccio
Frederic Cambus [f...@statdns.com] wrote: > > [1] http://distcache.FreeBSD.org/ports-distfiles/nawk-20121220/awk.tar.gz > Following the lack of hosting from Bell Labs, the post-2012 tree is on Github. Brian Kernighan's page now points to: https://github.com/onetrueawk/awk Looking through the

Re: Fix a segmentation fault in awk

2019-08-12 Thread Chris Cappuccio
Andras Farkas [deepbluemist...@gmail.com] wrote: > On Mon, Aug 12, 2019 at 3:45 PM Frederic Cambus wrote: > > Hi tech@, > > Here is a diff to fix a segmentation fault in awk, from upstream > > version 20121220 [1]. Upstream fix didn't check for strdup return value > &

Re: Fix a segmentation fault in awk

2019-08-12 Thread Andras Farkas
On Mon, Aug 12, 2019 at 3:45 PM Frederic Cambus wrote: > Hi tech@, > Here is a diff to fix a segmentation fault in awk, from upstream > version 20121220 [1]. Upstream fix didn't check for strdup return value > so I added the check. I've always been curious, why isn'

Fix a segmentation fault in awk

2019-08-12 Thread Frederic Cambus
Hi tech@, Here is a diff to fix a segmentation fault in awk, from upstream version 20121220 [1]. Upstream fix didn't check for strdup return value so I added the check. I've been seeing some awk.core files in my home directory for a while now, and finally decided to try investigat