From owner-freebsd-current@FreeBSD.ORG Mon Nov 9 23:43:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F27B3106568B for ; Mon, 9 Nov 2009 23:43:18 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay2.uni-muenster.de (ZIVM-EXRELAY2.UNI-MUENSTER.DE [128.176.192.15]) by mx1.freebsd.org (Postfix) with ESMTP id 8531D8FC18 for ; Mon, 9 Nov 2009 23:43:18 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,711,1249250400"; d="txt'?scan'208";a="228544063" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER01.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay2.uni-muenster.de with ESMTP; 10 Nov 2009 00:43:16 +0100 Received: by ZIVMAILUSER01.UNI-MUENSTER.DE (Postfix, from userid 149459) id D1C711B0767; Tue, 10 Nov 2009 00:43:16 +0100 (CET) Date: Tue, 10 Nov 2009 00:43:10 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=+permail-20091109234310f0889e8400004f7f-a_best01+ Cc: Subject: [patch] ee segfaults when jumping to line zero X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 23:43:19 -0000 This is a MIME encoded multipart message. --+permail-20091109234310f0889e8400004f7f-a_best01+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hi there, could somebody please commit the attached patch to HEAD and mfc it asap? it's a no brainer. ee inits a *char with NULL and accesses it before the *char is being initialised properly. to repeat: 1)start `ee' 2)press `ctrl+c' 3)enter `0' =====>>> BAM!!! this will occur under all branches running ee 1.5.0. the problem might also occur in branches with previous versions of ee. i think only 6-stable is still using the 1.4.X ee release. the patch was submitted by Fredrik Lindberg in bin/137707, but sadly nobody paid attention to it. :( this fix should also be forwarded to re@ asap so we can have it in 8.0-RELEASE. alex --+permail-20091109234310f0889e8400004f7f-a_best01+ Content-Type: text/plain Content-Transfer-Encoding: Base64 Content-Disposition: attachment; filename="eesegault.diff.txt" SW5kZXg6IGVlLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PQotLS0gZWUuYwkocmV2aXNpb24gMTk2MTcxKQorKysgZWUu Ywkod29ya2luZyBjb3B5KQpAQCAtMTk5Myw3ICsxOTkzLDcgQEAKIAlpbnQgbnVtYmVyOwogCWlu dCBpOwogCWNoYXIgKnB0cjsKLQljaGFyICpkaXJlY3Rpb24gPSBOVUxMOworCWNoYXIgKmRpcmVj dGlvbiA9ICJkIjsgCiAJc3RydWN0IHRleHQgKnRfbGluZTsKIAogCXB0ciA9IGNtZF9zdHI7Cgot LS0tLS0tLS0tLS0tLTA2MDcwNDA3MDIwNzA5MDIwMTAyMDQwNy0tCg== --+permail-20091109234310f0889e8400004f7f-a_best01+--