Re: [patch] NULL check in libedit

2016-03-22 Thread Ingo Schwarze
Hi Martijn, Martijn van Duren wrote on Tue, Mar 22, 2016 at 09:57:33AM +0100: > I found this one by exiting bc -l via ^D. > It should be fine since ct_encode_string also returns NULL > when tmp is NULL. Oops, indeed, sorry for overlooking that edge case. Completely correct. > OK? OK schwarze@;

[patch] NULL check in libedit

2016-03-22 Thread Martijn van Duren
Hello tech@, I found this one by exiting bc -l via ^D. It should be fine since ct_encode_string also returns NULL when tmp is NULL. OK? Index: eln.c === RCS file: /cvs/src/lib/libedit/eln.c,v retrieving revision 1.12 diff -u -p -r