Module: wine Branch: master Commit: 57b145e468e15af71236907b72cd471f08219acd URL: https://gitlab.winehq.org/wine/wine/-/commit/57b145e468e15af71236907b72cd471...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Apr 16 21:26:20 2024 +0200
widl: Clear RobustEarly flag also for data structure conformance.
---
tools/widl/typegen.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 6f362bc1d8d..d164317a666 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -1987,6 +1987,7 @@ static unsigned int write_conf_or_var_desc(FILE *file, const type_t *cont_type, break; } offset += size; + if (offset > baseoff) robust_flags &= ~RobustEarly; } }