Re: DMLOADERe: Prevent crash on IDirectMusicLoaderResourceStream_IStream_Read if pcbRead is NULL
13 Jun
2005
13 Jun
'05
10:17 p.m.
Juan Lang wrote:
- TRACE_(dmfileraw)(": data (size = 0x%08lX): '%s'\n", *pcbRead,
debugstr_an(pv, *pcbRead));
+ TRACE_(dmfileraw)(": data (size = 0x%08lX): '%s'\n", cb,
debugstr_an(pv, *pcbRead));
Should that be: TRACE_(dmfileraw)(": data (size = 0x%08lX): '%s'\n", cb, debugstr_an(pv, cb)); instead?
--Juan
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
You are right. I failed to notice the second use of the suspicious pointer. Here is a corrected patch. Alex Villacís Lasso
7490
Age (days ago)
7490
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alex Villacís Lasso