#17 Fix to handle bad xref in dereference report fnc

closed-fixed
None
5
2005-01-01
2004-12-31
No

Fix bug#1093628: bad xref can cause report to GPF/core dump

Add protection against null return from rmvat.

After this line

if (*key == '@') key = rmvat(key);

add this line

if (!key) key="";

Discussion

  • Anonymous - 2005-01-01

    Logged In: YES
    user_id=60964

    in src/interp/more.c, __getrecord(...)

     
  • Anonymous - 2005-01-01

    Logged In: YES
    user_id=60964

    Applying fix ("Bugfix to prevent crash in dereference with
    bad report pointer.")

    *** Closing as fixed ***

    Checking in ChangeLog;
    /cvsroot/lifelines/lifelines/ChangeLog,v <-- ChangeLog
    new revision: 1.1200; previous revision: 1.1199
    done
    Checking in src/interp/more.c;
    /cvsroot/lifelines/lifelines/src/interp/more.c,v <-- more.c
    new revision: 1.79; previous revision: 1.78
    done

     
  • Anonymous - 2005-01-01
    • assigned_to: nobody --> puddle
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks