NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/53597 CVS commit: src/lib/libedit
The following reply was made to PR lib/53597; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: PR/53597 CVS commit: src/lib/libedit
Date: Thu, 13 Sep 2018 06:27:21 +0700
Date: Wed, 12 Sep 2018 22:15:01 +0000 (UTC)
From: "Christos Zoulas" <christos%netbsd.org@localhost>
Message-ID: <20180912221501.5DA747A212%mollari.NetBSD.org@localhost>
| PR/53597: Yasuhiro Horimoto: Avoid segmentation fault in bad history file.
(void) strunvis(ptr, line);
+ decode_result = ct_decode_string(ptr, &conv);
+ if (decode_result == NULL)
+ continue;
if (HENTER(h, &ev, ct_decode_string(ptr, &conv)) == -1) {
might that be decode_result rather than ct_decode_string(ptr, &conv)
(repated call) in the call of HENTER ?
kre
Home |
Main Index |
Thread Index |
Old Index