#17 wvConvert crashes inside libwv\pap.c

closed-fixed
None
6
2004-10-09
2004-10-07
Sudar
No

For the particular document (see attachment) the
wvConvert application crashes with a memory violation
exception.

In the source code libwv\pap.c

inside function:

int wvAssembleSimplePAP (wvVersion ver, PAP * apap,
U32 fc, PAPX_FKP * fkp, wvParseStruct * ps)
{
...
...
...
if (!apap->ilfo)
return ret;

/* This is really silly, but it would seem that if ...
the block's PAPX in order to find out if we are in a list !!!)
*/
//////////// PATCH ////////
if (!ps->lfo)
return ret;
//////////// PATCH ////////

wvTrace(("list: ilvl %d, ilfo %d\n",apap->ilvl,apap-
>ilfo)); /* ilvl is the list level */
...
...
...
}

The above patch seems to be solving the problem. But I
really do not know the real meaning of this problem and
the solution. someone please justify this fix an
incorporate it in the following release.

Discussion

  • Sudar

    Sudar - 2004-10-07

    Killer Document

     
  • Sudar

    Sudar - 2004-10-07
    • priority: 5 --> 6
    • assigned_to: nobody --> cinamod
     
  • Dom Lachowicz

    Dom Lachowicz - 2004-10-07

    Logged In: YES
    user_id=69417

    please attach a patch with the output of 'cvs diff -u'. thanks.

     
  • Dom Lachowicz

    Dom Lachowicz - 2004-10-09
    • status: open --> closed-fixed
     

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

Sign up for the SourceForge newsletter:





No, thanks