widl: The offset to the pointer layout in complex structures must be positive so add an assert and fix the format string.

Rob Shearman robertshearman at gmail.com
Mon Jun 23 06:58:56 CDT 2008


Otherwise we could generate an incorrect format string and crash in a
weird way at runtime instead.
---
 tools/widl/typegen.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f196afd2ea4f69150334913ea594a57b252cce9a.diff
Type: text/x-patch
Size: 903 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080623/246c4ff0/attachment.bin 


More information about the wine-patches mailing list