[FFmpeg-cvslog] doc: Mention memory allocation in the fuzz testing section

Derek Buitenhuis git at videolan.org
Tue Jan 8 13:02:55 CET 2013


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Sun Jan  6 13:25:07 2013 -0500| [ac2603be28602bea76cf38bdbf37aead0dc2979a] | committer: Derek Buitenhuis

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ac2603be28602bea76cf38bdbf37aead0dc2979a
---

 doc/developer.texi |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/developer.texi b/doc/developer.texi
index c10d44a..691a907 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -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
     tools/trasher, the noise bitstream filter, and
     @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
     Does the patch not mix functional and cosmetic changes?
 @item



More information about the ffmpeg-cvslog mailing list