Displaying 2 results from an estimated 2 matches for "oc_badhead".
Did you mean:
oc_badheader
2006 Aug 24
1
AMD64 bug
...06-06-13 00:57:36.000000000 +0200
+++ libtheora-pdw/lib/toplevel.c 2006-08-19 16:55:30.000000000 +0200
@@ -172,7 +172,7 @@
static int _theora_unpack_comment(theora_comment *tc, oggpack_buffer *opb){
int i;
- long len;
+ long len,tmp;
_tp_readlsbint(opb,&len);
if(len<0)return(OC_BADHEADER);
@@ -180,7 +180,8 @@
_tp_readbuffer(opb,tc->vendor, len);
tc->vendor[len]='\0';
- _tp_readlsbint(opb,(long *) &tc->comments);
+ _tp_readlsbint(opb,&tmp);
+ tc->comments=tmp;
if(tc->comments<0)goto parse_err;
tc->user_comments=_ogg_calloc(tc-&...
2006 Aug 29
0
Bug#383793: libtheora0: not 64-bit clean
...06-06-13 00:57:36.000000000 +0200
+++ libtheora-pdw/lib/toplevel.c 2006-08-19 16:55:30.000000000 +0200
@@ -172,7 +172,7 @@
static int _theora_unpack_comment(theora_comment *tc, oggpack_buffer *opb){
int i;
- long len;
+ long len,tmp;
_tp_readlsbint(opb,&len);
if(len<0)return(OC_BADHEADER);
@@ -180,7 +180,8 @@
_tp_readbuffer(opb,tc->vendor, len);
tc->vendor[len]='\0';
- _tp_readlsbint(opb,(long *) &tc->comments);
+ _tp_readlsbint(opb,&tmp);
+ tc->comments=tmp;
if(tc->comments<0)goto parse_err;
tc->user_comments=_ogg_calloc(tc-&...