#128 wvConvert application terminates in Linux

closed-fixed
nobody
None
5
2004-10-06
2004-10-06
Sudar
No

I tried converting a particular document (see
attachment), the convertion utility terminated. I have
found patch for that as well.

In the libole2/ms-ole.c file,

static int read_sb (MsOle *f)
{
....
....
// FIX: the ptr value should be validated
// check if the ptr is in the valid bounds
if (ptr >= f->bb->len)
{
ptr = END_OF_CHAIN;
// ptr is invalid,
// force it as the end of the chain
continue;
}
// FIX ends here

ptr = NEXT_BB (f, ptr);
}
}

After this fix, the crashing problem was not there.

Discussion

  • Sudar

    Sudar - 2004-10-06

    Killer Document

     
  • Sudar

    Sudar - 2004-10-06
    • status: open --> closed-fixed
     
  • Sudar

    Sudar - 2004-10-06

    Logged In: YES
    user_id=1133964

    I attach One more problematic document

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks