openbsd-ports/x11/vlc/patches/patch-modules_demux_ogg_c
jakemsr 375747e383 update to vlc-0.8.6e
This is a bugfix release. VLC media player 0.8.6d and earlier versions
suffer from security vulnerabilities in the Web interface, Subtitle
demuxer, Real RTSP demuxer, SDL_image library and MP4 demuxer.

See http://www.videolan.org/security/sa0801.php and
http://www.videolan.org/security/sa0802.php for more details.

from brad, OK naddy
2008-03-02 02:27:04 +00:00

13 lines
644 B
Plaintext

$OpenBSD: patch-modules_demux_ogg_c,v 1.6 2008/03/02 02:27:04 jakemsr Exp $
--- modules/demux/ogg.c.orig Sun Feb 24 14:01:53 2008
+++ modules/demux/ogg.c Thu Feb 28 11:18:09 2008
@@ -1374,7 +1374,7 @@ static void Ogg_ReadAnnodexHeader( vlc_object_t *p_thi
uint8_t *p = memchr( &p_oggpacket->packet[42], '\r',
p_oggpacket->bytes - 1 );
if( p && p[0] == '\r' && p[1] == '\n' )
- sscanf( (char*)(&p_oggpacket->packet[42]), "%1024s\r\n",
+ sscanf( (char*)(&p_oggpacket->packet[42]), "%1023s\r\n",
content_type_string );
}