bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

session.c:1970 SIGSEGV (info make functions -> <DEL>)


From: Fernando Vezzosi
Subject: session.c:1970 SIGSEGV (info make functions -> <DEL>)
Date: Thu, 20 Jan 2005 15:29:52 +0100
User-agent: Mutt/1.5.6+20040907i

Hi,
attachad is a quick & dirty patch i came out with, after finding this
bug.. to reproduce try:
        $ info make functions
        (press <DEL>)
        Segmentation Fault (core dumped)
the problem is in session.c, around line 1970.. entry is NULL, but we
try to access entry->line_number..
Please note that i did this patch while on train, going home at night
time.. surely there is something more clever to do, like parsing input
differently to assure entry is never NULL..

p.s.: once I had isolated a very little piece of code that could make
      info crash due to this bug.. but I lost it :D
      hopefully in the future I will investigate more inside Info code..
      for now I have really no time..

have a nice day

-- 
Fernando Vezzosi
GIT dpu s+:-- a19 C+++ UL++++> P+++> L+++> E--- W--(-) N o? K?
w--- O-- M-- V-- PS+ PE-- Y+ PGP+++> t+ 5? X R? tv-->! b> DI?
!D G++ e h! r--- !y+>   /"\      |
                        \ /      |     PLEASE use GnuPG
ASCII Ribbon campaign    X       |       (0xB28997C9)
  Against HTML Mail     / \      |     hkp://pgp.mit.edu

Attachment: patch_info
Description: Text document

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]