Browse Source

doc: Mention memory allocation in the fuzz testing section

It's obviously undesireable to blindly allocate memory based on
a damaged 'size' value, for example.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n1.2
Derek Buitenhuis 12 years ago
parent
commit
ac2603be28
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      doc/developer.texi

+ 2
- 1
doc/developer.texi View File

@@ -453,7 +453,8 @@ send a reminder by email. Your patch should eventually be dealt with.
Did you test your decoder or demuxer against damaged data? If no, see Did you test your decoder or demuxer against damaged data? If no, see
tools/trasher, the noise bitstream filter, and tools/trasher, the noise bitstream filter, and
@uref{http://caca.zoy.org/wiki/zzuf, zzuf}. Your decoder or demuxer @uref{http://caca.zoy.org/wiki/zzuf, zzuf}. Your decoder or demuxer
should not crash or end in a (near) infinite loop when fed damaged data.
should not crash, end in a (near) infinite loop, or allocate ridiculous
amounts of memory when fed damaged data.
@item @item
Does the patch not mix functional and cosmetic changes? Does the patch not mix functional and cosmetic changes?
@item @item


Loading…
Cancel
Save