glib/docs/reference
Lars Uebernickel 89a7bbcf6e gmenumodel: disallow exporting large menus on the bus
This solves problems with validating untrusted inputs from D-Bus, where
invalid numbers of added and removed menu entries, and positions, could
be specified.

Original patch from
https://bugzilla.gnome.org/show_bug.cgi?id=728733#c7, tweaked by Philip
Withnall to add a few code comments and make
`G_MENU_EXPORTER_MAX_SECTION_SIZE` public so callers can check their
inputs against it if they want. Also tweaked to use `g_warning()` instead
of the nonexistent `g_dbus_warning()`.

Fixes: #861
2022-12-14 15:42:14 +00:00
..
gio gmenumodel: disallow exporting large menus on the bus 2022-12-14 15:42:14 +00:00
glib Merge branch 'c-cxx-std-versions' into 'main' 2022-11-22 21:10:34 +00:00
gobject docs: Remove a stray > in the glib-mkenums man page 2022-12-07 08:17:17 +00:00
.gitignore .gitignore manpages (*.1) 2010-05-24 23:21:01 -04:00
AUTHORS Initial revision 1999-08-16 17:58:30 +00:00
COPYING Initial revision 1999-08-16 17:58:30 +00:00
meson.build meson: Expose library build type as global variables 2022-10-31 14:08:31 +01:00
NEWS Initial revision 1999-08-16 17:58:30 +00:00