Donate Share

Library to read and write Paradox files

Code

Programming Languages: C

License: GNU General Public License (GPL)

Repositories

browse code, statistics cvs -d:pserver:anonymous@pxlib.cvs.sourceforge.net:/cvsroot/pxlib login

cvs -z3 -d:pserver:anonymous@pxlib.cvs.sourceforge.net:/cvsroot/pxlib co -P modulename

Show:

What's happening?

  • build_mb_block_list corrupts stack

    In build_mb_block_list variable mbblockhead writes outside the variable the stack during read. When reading mbblockhead, sizeof(TMbBlockHeader3) are used for number of bytes. Recommended fix - declare mbblockhead as TMbBlockHeader3. TMbBlockHeader3 are just three bytes larger than TMbBlockHeader2 but there is a potential for a more serious outcome if TMbBlockHeader4 shows up. rgds...

    2009-10-28 19:58:09 UTC by nobody

Our Numbers