openbsd-ports/x11/mplayer/patches/patch-libavcodec_common_h
sturm d0e57c8908 SECURITY UPDATE to 0.92
fixes a remotely exploitable buffer overflow in ASX headers that could
be used to make mplayer run arbitrary code

from maintainer Bjoern Sandell
2003-09-25 20:59:01 +00:00

13 lines
537 B
Plaintext

$OpenBSD: patch-libavcodec_common_h,v 1.2 2003/09/25 20:59:01 sturm Exp $
--- libavcodec/common.h.orig 2003-01-28 15:37:44.000000000 +0100
+++ libavcodec/common.h 2003-08-24 10:47:19.000000000 +0200
@@ -158,7 +158,7 @@ typedef signed long long INT64;
# include "bswap.h"
# if defined(__MINGW32__) || defined(__CYGWIN__) || \
- defined(__OS2__) || defined (__OpenBSD__)
+ defined(__OS2__) || (defined (__OpenBSD__) && ! defined (__ELF__))
# define MANGLE(a) "_" #a
# else
# define MANGLE(a) #a