From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#30785: Man pages truncated, repeated Date: Mon, 14 Jan 2019 18:48:53 +0100 Message-ID: <20190114184853.1d1fe010@scratchpost.org> References: <87va2s8row.fsf@ambrevar.xyz> <87tvic8rfq.fsf@ambrevar.xyz> <878szo5w6z.fsf@gnu.org> <87r2dg8nxd.fsf@ambrevar.xyz> <87pnt08ndl.fsf@ambrevar.xyz> <8736pw5mmh.fsf@gnu.org> <87muo48fay.fsf@ambrevar.xyz> <87r2dfy6t0.fsf@gnu.org> <87k1j78vzd.fsf@ambrevar.xyz> <87imyr8rsg.fsf@ambrevar.xyz> <87ef9f8ei5.fsf@ambrevar.xyz> <87a7k3rzio.fsf@gnu.org> <87won78aw8.fsf@ambrevar.xyz> <20190114174240.557e64b5@scratchpost.org> <87va2r89ef.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/YHThlfTVEz2F=82.blfO.JU"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj6N9-0007xM-2v for bug-guix@gnu.org; Mon, 14 Jan 2019 12:50:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj6N8-0002Pl-Ab for bug-guix@gnu.org; Mon, 14 Jan 2019 12:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60015) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gj6N8-0002Pg-7q for bug-guix@gnu.org; Mon, 14 Jan 2019 12:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gj6N8-0001u4-36 for bug-guix@gnu.org; Mon, 14 Jan 2019 12:50:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87va2r89ef.fsf@ambrevar.xyz> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Pierre Neidhardt Cc: 30785@debbugs.gnu.org --Sig_/YHThlfTVEz2F=82.blfO.JU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable set_current_prefix() searches for the current program executable file in $P= ATH, and it can fail and return 0.=20 In that case, relocatep will probably segfault at the location marked below: > char *relocated_path =3D new char[curr_prefix_len + relative_path_len += 1]; > strcpy(relocated_path, curr_prefix); ^^^^^^^^^^^ --Sig_/YHThlfTVEz2F=82.blfO.JU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlw8y4UACgkQ5xo1VCww uqW+KwgAluLGTferra2kIPLo1NCFxUDzgPNaEU57Z5RIgUDKy03O6kybJEZj6QGR RvchAAFUPT5Ra2vwgdnsX9UGgdI9cmIRfRef4JX6xsTvdzs9i/vwtwcYm6sIoCX+ ZYSK/WKE5Y8zKdX0Q3JrGRc9Dbq8JZfmigzs3t8NaNmSke5hMHUB3xws3bv2BZPQ 718KeKR8HEvbu5OkOjIKYScxYtF5A5bcZVDff36/vNKjVQJ8V4gKr/sRbypvek30 6eY/HjM33EOzad0QcwOjDYiX/RKundwBy2XPAgBu7V3xzmRG23/mnvYdon3nqFy+ QkakHSKcEKvqqHYl+eMvizmqyrM7nA== =s96+ -----END PGP SIGNATURE----- --Sig_/YHThlfTVEz2F=82.blfO.JU--