widl: Make the offset of conformant string types point to the start of the conformant...
commit13f9c71960495c3696c40622653f9d59d18bd72c
authorRob Shearman <rob@codeweavers.com>
Fri, 4 Jan 2008 16:24:42 +0000 (4 16:24 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Jan 2008 11:02:57 +0000 (7 12:02 +0100)
tree5f7e56dbc7586506ae9ec41cc1ca562f1253f45e
parentc8b3dc40a4c1f1c6d1ec20253c197ab93632d78b
widl: Make the offset of conformant string types point to the start of the conformant string format chars, not the pointer type.

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