openbsd-ports/multimedia/xine-lib/patches/patch-src_input_libreal_asmrp_h
robert 900dc9bfe8 fix a buffer overflow found in the code used to handle RealMedia RTSP
streams; bump PKNAME;

from Brad <brad@comstyle.com>
2007-01-02 19:42:59 +00:00

14 lines
451 B
Plaintext

$OpenBSD: patch-src_input_libreal_asmrp_h,v 1.2 2007/01/02 19:42:59 robert Exp $
--- src/input/libreal/asmrp.h.orig Mon Dec 8 19:02:30 2003
+++ src/input/libreal/asmrp.h Mon Jan 1 15:27:47 2007
@@ -37,6 +37,8 @@
#ifndef HAVE_ASMRP_H
#define HAVE_ASMRP_H
-int asmrp_match (const char *rules, int bandwidth, int *matches) ;
+#define MAX_RULEMATCHES 16
+
+int asmrp_match (const char *rules, int bandwidth, int *matches, int matchsize) ;
#endif