widl: Make the offset of conformant string types point to the start of the conformant string format chars, not the pointer type.

Robert Shearman rob at codeweavers.com
Fri Jan 4 10:24:42 CST 2008


Otherwise, writing a type at top-level could cause the pointer format 
string to be used in non-top-level places which may cause memory 
corruption during freeing.
---
  tools/widl/typegen.c |   12 +++++++-----
  1 files changed, 7 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 421ccdd47706f4e186a009cf3cb6e5e8b6eef840.diff
Type: text/x-patch
Size: 1677 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080104/d0e63956/attachment.bin 


More information about the wine-patches mailing list