From ac2603be28602bea76cf38bdbf37aead0dc2979a Mon Sep 17 00:00:00 2001
From: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Date: Sun, 6 Jan 2013 13:25:07 -0500
Subject: [PATCH] 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>
---
 doc/developer.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/developer.texi b/doc/developer.texi
index c10d44a2c05..691a9079493 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
-- 
GitLab