NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/54272: libedit segfaults on Linux aarch64 build
The following reply was made to PR lib/54272; it has been noted by GNATS.
From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: lib-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/54272: libedit segfaults on Linux aarch64 build
Date: Tue, 4 Jun 2019 20:51:50 -0400
This does not seem right:
1. The "area" argument is not an argument to terminal_alloc(), but to =
tgetstr() which takes as the third argument a char **. In fact you =
should get a warning if you remove the &.
2. The initialization is extraneous since the area argument is only =
supposed to be used as scratch space in tgetstr().
What might be happening, is that tgetstr() writes to the id argument on =
linux?
christos=
Home |
Main Index |
Thread Index |
Old Index