search for: set_field_nam

Displaying 3 results from an estimated 3 matches for "set_field_nam".

Did you mean: set_field_name
2012 May 07
3
[PATCH] Add missing functions to VorbisComment class + a few other things
...ttypes.h which can be included in line 43 of src/libFLAC/lpo.c (after the '#if defined DEBUG') to solve this on my system. Lastly, the reason I tried to compile with debug was some invalid read sizes reported by valgrind when creating a VorbisComment::Entry. The invalid read is reported in set_field_name() at line 653 (src/libFLAC++/metadata.cpp), where strlen() is used on the newly created char *field_name_. I could not see anything wrong with the code though, and strangely enough just calling printf on the field_name_ 1 line before the strlen() removes all valgrind errors. So I'm not sure wh...
2012 May 08
1
[PATCH] Add missing functions to VorbisComment class + a few other things
...or ==11150== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==11150== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==11150== Command: ./invalid_read ==11150== ==11150== Invalid read of size 4 ==11150== at 0x4030366: FLAC::Metadata::VorbisComment::Entry::set_field_name(char const*) (metadata.cpp:653) ==11150== by 0x7D5E35: (below main) (in /lib/libc-2.13.so) ==11150== Address 0x418802c is 4 bytes inside a block of size 7 alloc'd ==11150== at 0x4007D89: malloc (vg_replace_malloc.c:236) ==11150== by 0x83502F: strdup (in /lib/libc-2.13.so) ==11150==...
2012 May 08
0
[PATCH] Add missing functions to VorbisComment class + a few other things
...ns that use 'PRId64' get compiled > in, but no included header defines 'PRId64'. Fixed, thanks. > Lastly, the reason I tried to compile with debug was some invalid read > sizes reported by valgrind when creating a VorbisComment::Entry. The > invalid read is reported in set_field_name() at line 653 ( > src/libFLAC++/metadata.cpp), where strlen() is used on the newly created > char *field_name_. I could not see anything wrong with the code though, > and strangely enough just calling printf on the field_name_ 1 line before > the strlen() removes all valgrind errors. S...