mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
sd2.c : Improve logging of errors in resource fork parser.
This commit is contained in:
parent
3d271869d0
commit
4f9abf8010
@ -1,3 +1,8 @@
|
||||
2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/sd2.c
|
||||
Improve logging of errors in resource fork parser.
|
||||
|
||||
2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* Win32/Makefile.msvc
|
||||
|
@ -440,7 +440,7 @@ sd2_parse_rsrc_fork (SF_PRIVATE *psf)
|
||||
rsrc.data_offset, rsrc.map_offset, rsrc.data_length, rsrc.map_length) ;
|
||||
|
||||
if (rsrc.data_offset > rsrc.rsrc_len)
|
||||
{ psf_log_printf (psf, "Error : rsrc.data_offset > len\n") ;
|
||||
{ psf_log_printf (psf, "Error : rsrc.data_offset (%d, 0x%x) > len\n", rsrc.data_offset, rsrc.data_offset) ;
|
||||
error = SFE_SD2_BAD_DATA_OFFSET ;
|
||||
goto parse_rsrc_fork_cleanup ;
|
||||
} ;
|
||||
|
Loading…
Reference in New Issue
Block a user