[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>
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 =
Main Index |
Thread Index |