[xiph-cvs] cvs commit: vorbis-tools/oggenc encode.h oggenc.c platform.c

Segher Boessenkool segher at chello.nl
Mon Jan 28 01:23:40 PST 2002



> +int create_directories(char *fn)
> +{
> +    char *end, *start;
> +    struct stat statbuf;
> +    char segment[FILENAME_MAX];
> +
> +    start = fn;
> +
> +    while((end = strchr(start+1, '/')) != NULL)
> +    {
> +        memcpy(segment, fn, end-fn);

Buffer overflow.

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list