[PATCH] Fix assertion in wine_dbg_vprintf
James Hatheway
james at macadamian.com
Tue Apr 17 15:02:18 CDT 2001
Hi guys,
I started receiving an interesting assertion recently with my
app. It says "wine:debugtools.c:211:wine_dbg_vprintf: Assertion:
'ret < sizeof(info->output) - (info->out_pos - info->output)' failed"
After a bit of research, I found out this is because of a FIXME message
in acmGetVersion() missing a \n, which was overflowing the buffer in
wine_dbg_vprintf after multiple calls to acmGetVersion.
-James
Changelog:
James Hatheway - james at macadamian.com
Add \n to FIXME call in acmGetVersion to prevent overflowing buffer in
wine_dbg_vprintf
Modified:
dlls/msacm/msacm32_main.c
--
James Hatheway
Software Designer - Macadamian Technologies, Inc.
james at macadamian.com ~ http://www.macadamian.com
"Man könnte froh sein, wenn die Luft so rein wäre wie das Bier"
"One could be happy if the air were as pure as the beer"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acmGetVersion_assertion.diff
Type: application/octet-stream
Size: 607 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20010417/20b31c38/acmGetVersion_assertion.obj
More information about the wine-patches
mailing list