[patch] ee segfaults when jumping to line zero

From: Alexander Best <alexbestms_at_wwu.de>
Date: Tue, 10 Nov 2009 00:43:10 +0100 (CET)
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_at_ asap so we can have it in
8.0-RELEASE.

alex

Received on Mon Nov 09 2009 - 22:43:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC