openbsd-ports/multimedia/xine-lib/patches/patch-src_input_mms_c
sthen db3179044c - SECURITY update to Xine-lib 1.1.16.1
- Heap overflow in Quicktime atom parsing.  (CVE-2008-5234 vector 1)
  - Multiple buffer overflows.                (CVE-2008-5236)
  - Multiple integer overflows.               (CVE-2008-5237)
  - Unchecked read function results.          (CVE-2008-5239)
  - Unchecked malloc using untrusted values.  (CVE-2008-5240 vectors 3 & 4)
  - Buffer indexing using an untrusted value. (CVE-2008-5243)
- Clean up the Makefile
- Enable the Xv motion compensation support
- Remove the JACK sound support
- Remove the now unnecessary multi-packaging
- Remove an unnecessary patch for the Sun sound code
- Comment out some files in the PLIST that do not pertain to OpenBSD
- Add WavPack support

from Brad (taking MAINTAINER).
2009-02-02 22:00:42 +00:00

21 lines
602 B
Plaintext

$OpenBSD: patch-src_input_mms_c,v 1.7 2009/02/02 22:00:42 sthen Exp $
--- src/input/mms.c.orig Sun Jan 4 10:47:28 2009
+++ src/input/mms.c Thu Jan 8 01:06:20 2009
@@ -48,6 +48,7 @@
#include <iconv.h>
#include <locale.h>
#include <langinfo.h>
+#include <localcharset.h>
#endif
/********** logging **********/
@@ -290,7 +291,7 @@ static int send_command (mms_t *this, int command,
#ifdef USE_ICONV
static iconv_t string_utf16_open() {
- return iconv_open("UTF-16LE", "UTF-8");
+ return iconv_open("UTF-16LE", locale_charset());
}
static void string_utf16_close(iconv_t url_conv) {