Added integer overflow checks + input argument validations in different functions...
commit34c82ded02e2fb40b380a90ff2ce8018c84728bf
authorViktor Gal <viktor.gal@maeth.com>
Thu, 23 Apr 2009 02:36:33 +0000 (23 12:36 +1000)
committerViktor Gal <viktor.gal@maeth.com>
Thu, 23 Apr 2009 02:36:33 +0000 (23 12:36 +1000)
tree0a076475408c9858f0461e451d5d5eb7fba97bb6
parent683f232749894a29d8ebdce668b932d4d4d140f3
Added integer overflow checks + input argument validations in different functions (mozilla bug 480014)
Removed the use of the deprecated 'fish_sound_set_interleave' function.
Fixed file closing in 'oggplay_file_reader_destroy': only close the file handle if it was
succesfully opened; i.e. if the given file did not exist or could not open for various reasons,
do not try to close it when destroying the OggPlayReader handle. This caused segmentation fault
on Windows.
14 files changed:
AUTHORS
include/oggplay/oggplay.h
include/oggplay/oggplay_enums.h
include/oggplay/oggplay_query.h
src/liboggplay/oggplay.c
src/liboggplay/oggplay_buffer.c
src/liboggplay/oggplay_callback.c
src/liboggplay/oggplay_callback.h
src/liboggplay/oggplay_callback_info.c
src/liboggplay/oggplay_data.c
src/liboggplay/oggplay_data.h
src/liboggplay/oggplay_file_reader.c
src/liboggplay/oggplay_private.h
src/liboggplay/oggplay_tcp_reader.c