summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-11-10 11:39:14 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-11-11 06:44:26 -0800
commit28d9f05fa1593b252e98965c8a4c6c4c7c2cf4a7 (patch)
treec2b00e49fad721738503a274328c8a7e18723400 /tests/benchmarks
parente76bcaa203a0b6845c84ed9bb4cf11c2f6396f54 (diff)
Gtk3: fix stack smashing on mismatch between bool and gboolean
Glib is written in C and predates C99 (though not really, glib 2.0 was released in 2002), so it defines gboolean as int, a 4-byte type. C++'s bool is a 1-byte type, so this caused a buffer overflow. Problem introduced in 2b77e779ce43386d14bdd2d1109ee182bcd0d047 ("QGtk3Theme: implement appearance function to detect dark themes"). Pick-to: 6.2 6.4 Change-Id: Ieba79baf5ac34264a988fffd172650701fa54da8 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions