$NetBSD: patch-ar,v 1.1.1.1 2010/09/07 21:52:27 cheusov Exp $

Fix for SA26157.

--- stream/realrtsp/real.c.orig	2009-09-02 12:55:36.000000000 +0200
+++ stream/realrtsp/real.c
@@ -369,6 +369,9 @@ int real_get_rdt_chunk(rtsp_t *rtsp_sess
 #endif
   size+=2;
 
+  if (size < 12)
+	  return 0;
+
   ph.object_version=0;
   ph.length=size;
   ph.stream_number=(flags1>>1)&0x1f;
