From owner-freebsd-ports@FreeBSD.ORG Fri Sep 5 18:47:14 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD7F316A4BF for ; Fri, 5 Sep 2003 18:47:14 -0700 (PDT) Received: from unbreakable.homeunix.org (a213-22-141-83.netcabo.pt [213.22.141.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9854443FDD for ; Fri, 5 Sep 2003 18:47:13 -0700 (PDT) (envelope-from sub_0@netcabo.pt) From: Mario Freitas To: jharris@widomaker.com Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1zepuu1DBax3pvuGl0RF" Message-Id: <1062812832.12379.14.camel@suzy.unbreakable.homeunix.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sat, 06 Sep 2003 02:47:12 +0100 X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: ports@freebsd.org Subject: Elinks crash X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sub_0@netcabo.pt List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2003 01:47:14 -0000 --=-1zepuu1DBax3pvuGl0RF Content-Type: multipart/mixed; boundary="=-5O4K0MPS97b0DFqGShYE" --=-5O4K0MPS97b0DFqGShYE Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Today I noticed elinks crashes most of the times after parsing a web page which includes framesets (try loading a frameset with for example rows=3D"200,*"). This occurs because it tries to free some arbitrary block of memory without checking if the previous functions returned errors. Below there is a patch for this problem, so I expect you submit it. Also I'm CCing to ports@freebsd.org so users can overcome this problem while it is not commited. Sincerely, --=20 M=E1rio Freitas (sub_0@netcabo.pt) N=FAcleo Portugu=EAs de FreeBSD (NPF) --=-5O4K0MPS97b0DFqGShYE-- --=-1zepuu1DBax3pvuGl0RF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/WTygmOO46MB/5oURAh4aAKCSZADZk3BNSWcCLCBXE9GCMdZEtQCgxuc7 vaS39/7unJnbmwFaPtm23FA= =MxaT -----END PGP SIGNATURE----- --=-1zepuu1DBax3pvuGl0RF--