mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gdbus-test-codegen: Allocate full integer space for uint16 properties
Because there is no G_TYPE_[U]INT16, we need to use integer types, otherwise we'll end up overwriting memory (in this case on the stack).
This commit is contained in:
parent
49fac943f3
commit
d54c65448c
@ -703,8 +703,8 @@ check_bar_proxy (FooBar *proxy,
|
||||
ClientData *data;
|
||||
guchar val_y;
|
||||
gboolean val_b;
|
||||
gint16 val_n;
|
||||
guint16 val_q;
|
||||
gint val_n;
|
||||
guint val_q;
|
||||
gint val_i;
|
||||
guint val_u;
|
||||
gint64 val_x;
|
||||
|
Loading…
Reference in New Issue
Block a user