Displaying 7 results from an estimated 7 matches for "print_com".
Did you mean:
print_cap
2018 Feb 09
3
[PATCH]Add address overflow check
Hi,
I came into a crash when using 32-bit `speexdec` and found that there's an
address overflow in function `print_comments()`:
static void print_comments(char *comments, int length)
{
char *c=comments;
int len, i, nb_fields;
char *end;
if (length<8)
{
fprintf (stderr, "Invalid/corrupted comments\n");
return;
}
end = c+length;
len=readint(c, 0);
c+=4...
2018 Feb 09
0
[PATCH]Add address overflow check
...e an issue. I suspect you're
being hit by something else. That or your compiler is really broken.
Cheers,
Jean-Marc
On 02/09/2018 04:42 AM, Ruikai Liu wrote:
> Hi,
>
> I came into a crash when using 32-bit `speexdec` and found that there's
> an address overflow in function `print_comments()`:
>
> staticvoidprint_comments(char*comments, intlength)
>
> {
>
> char*c=comments;
>
> intlen, i, nb_fields;
>
> char*end;
>
>
> if(length<8)
>
> {
>
> fprintf (stderr, "Invalid/corrupted comments\n&...
2001 Sep 30
3
UTF-8 stuff
...39;c'},
- {"encoding", 1,0,'e'},
{NULL,0,0,0}
};
@@ -37,7 +37,6 @@
int commentcount;
char **comments;
int tempoutfile;
- char *encoding;
} param_t;
#define MODE_NONE 0
@@ -47,8 +46,8 @@
/* prototypes */
void usage(void);
-void print_comments(FILE *out, vorbis_comment *vc, char *encoding);
-int add_comment(char *line, vorbis_comment *vc, char *encoding);
+void print_comments(FILE *out, vorbis_comment *vc);
+int add_comment(char *line, vorbis_comment *vc);
param_t *new_param(void);
void parse_options(int argc, char *argv[], pa...
2002 Nov 14
1
comment tags
I'm trying to write comment writer thing for zinf, because I love the
program, but it doesn't fully support ogg. I've found how to read
comments, but can't figure how to write them. There has been some
discussion about this previously in the archives, but I couldn't find
any specifics, only references to code not posted to the list. The
api documentation page is (painfully)
2007 Jun 05
9
[Bug 1319] New: ssh-keygen does not properly handle multiple keys
http://bugzilla.mindrot.org/show_bug.cgi?id=1319
Summary: ssh-keygen does not properly handle multiple keys
Product: Portable OpenSSH
Version: 4.5p1
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh-keygen
AssignedTo: bitbucket at mindrot.org
2008 Apr 04
0
speexdec 1.2.3
...ks.h>
#define MAX_FRAME_SIZE 2000
#define readint(buf, base) (((buf[base+3]<<24)&0xff000000)| \
((buf[base+2]<<16)&0xff0000)| \
((buf[base+1]<<8)&0xff00)| \
(buf[base]&0xff))
static void print_comments(char *comments, int length)
{
char *c=comments;
int len, i, nb_fields;
char *end;
if (length<8)
{
fprintf (stderr, "Invalid/corrupted comments\n");
return;
}
end = c+length;
len=readint(c, 0);
c+=4;
if (c+len>end)
{
fprintf...
2008 Apr 04
2
speexdec 1.2.3
On Fri, Apr 4, 2008 at 12:19 AM, Jean-Marc Valin
<jean-marc.valin at usherbrooke.ca> wrote:
> Jahn, Ray (R.) a ?crit :
>
> > Dear Speex codec community:
> >
> > I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any