NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/52849: libedit core dumps on saving history file with psql from postgresql*-client packages on amd64 platform



The core dump issue has been fixed by this change.

The odd issue with the multi-line copy/paste still remains, though. Not sure how to collect more info on that one.

> On Dec 23, 2017, at 1:30 PM, Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
> 
> The following reply was made to PR lib/52849; it has been noted by GNATS.
> 
> From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: lib/52849: libedit core dumps on saving history file with psql
> from postgresql*-client packages on amd64 platform
> Date: Sat, 23 Dec 2017 21:28:13 +0300
> 
> On Sat, Dec 23, 2017 at 21:04:26 +0300, Valery Ushakov wrote:
> 
>> From a quick look 1.58 of history.c (from Sep 1) looks highly
>> suspicious as it introduced a call like 
>> 
>>  history_save_fp(h, va_arg(va, size_t), va_arg(va, FILE *));
>> 
>> and of course C99 even cites that as an example if UB:
> 
> I've committed a fix in history.c revision 1.59.  Please, can you
> update and test?  TIA!
> 
> -uwe
> 



Home | Main Index | Thread Index | Old Index