1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-08-12 04:04:04 +02:00
Files
.gitlab-ci
.reuse
LICENSES
docs
reference
gio
gdbus-object-manager-example
xml
.gitignore
concat-files-helper.py
gapplication.xml
gdbus-codegen.xml
gdbus.xml
gio-docs-unix.xml
gio-docs-win32.xml
gio-docs.xml
gio-querymodules.xml
gio-sections-common.txt
gio-sections-win32.txt
gio.xml
glib-compile-resources.xml
glib-compile-schemas.xml
gresource.xml
gsettings.xml
gvfs-overview.odg
gvfs-overview.png
menu-example.png
menu-model.png
meson.build
migrating-gconf.xml
migrating-gdbus.xml
migrating-gnome-vfs.xml
migrating-posix.xml
overview.xml
version.xml.in
glib
gobject
.gitignore
AUTHORS
COPYING
NEWS
meson.build
CODEOWNERS
backports.md
debugging.txt
macros.txt
meson-version.md
rationales.md
releasing.md
roadmap.md
supported-platforms.md
testing.md
toolchain-requirements.md
fuzzing
gio
glib
gmodule
gobject
gthread
m4macros
po
subprojects
tests
tools
.clang-format
.dir-locals.el
.editorconfig
.gitignore
.gitlab-ci.yml
.gitmodules
.lcovrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
INSTALL.md
NEWS
README.md
README.win32.md
SECURITY.md
glib.doap
meson.build
meson_options.txt
msvc_recommended_pragmas.h
glib/docs/reference/gio
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: 
2022-12-14 15:42:14 +00:00
..
2013-10-17 10:12:27 -04:00
2011-12-08 18:05:12 -05:00
2011-12-08 18:05:12 -05:00