Remove obsolete patch (same code is a bit lower in the same file)

for security problem from 2009.
This commit is contained in:
wiz 2012-06-11 21:56:07 +00:00
parent 5e4b11b1af
commit 1f5e12e39a
2 changed files with 1 additions and 18 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.76 2012/06/11 21:55:34 wiz Exp $
$NetBSD: distinfo,v 1.77 2012/06/11 21:56:07 wiz Exp $
SHA1 (mplayer/MPlayer-1.1.tar.gz) = e46e3294bc96daabe604e4e195721e4f2d1e5b48
RMD160 (mplayer/MPlayer-1.1.tar.gz) = 0369e57677c0c30f3b05f80ee1c4d8d7d1217e63
@ -6,7 +6,6 @@ Size (mplayer/MPlayer-1.1.tar.gz) = 17018391 bytes
SHA1 (patch-aa) = b341210297274b589162f4b6e2b0206467a130a2
SHA1 (patch-ae) = 286f5ac075ea4123a1a6276f97e02a4dda9b3e67
SHA1 (patch-an) = a1d16ce7a4ff5a2071a7bac1b6836dc197b849e4
SHA1 (patch-ar) = f48a889a11e2c958cf9e939d831e371b00474489
SHA1 (patch-libao2_ao_sun.c) = ce7042b394b9b8c051597c734b70290c8bf0a8d5
SHA1 (patch-stream_dvb_tune.c) = 46cb5fb4700d7da5ed997dd468033c1edbe9be03
SHA1 (patch-stream_dvbin.h) = ee4f74eb786100e7cc62be228d73ce29d88638d1

View file

@ -1,16 +0,0 @@
$NetBSD$
Fix for SA26157.
--- stream/realrtsp/real.c.orig 2010-12-03 19:52:10.000000000 +0000
+++ stream/realrtsp/real.c
@@ -370,6 +370,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;