diff options
| author | Simon Ser <contact@emersion.fr> | 2022-06-28 11:59:26 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2022-06-28 11:59:26 +0200 |
| commit | c7fc1e79ca50402acdd8627dcdf7dd0286924d99 (patch) | |
| tree | 3b21c089cf0b42a4540e01f8a33663f6ba1a2733 /protocol | |
| parent | build: bump to version 1.20.93 for the RC1 release (diff) | |
| download | wayland-c7fc1e79ca50402acdd8627dcdf7dd0286924d99.tar wayland-c7fc1e79ca50402acdd8627dcdf7dd0286924d99.tar.gz wayland-c7fc1e79ca50402acdd8627dcdf7dd0286924d99.tar.bz2 wayland-c7fc1e79ca50402acdd8627dcdf7dd0286924d99.tar.lz wayland-c7fc1e79ca50402acdd8627dcdf7dd0286924d99.tar.xz wayland-c7fc1e79ca50402acdd8627dcdf7dd0286924d99.tar.zst wayland-c7fc1e79ca50402acdd8627dcdf7dd0286924d99.zip | |
util: set errno when hitting WL_MAP_MAX_OBJECTS
Callers may check errno when wl_map_insert_* functions return an
error (since [1]). Make sure it's always set to a meaningful value
when returning an error, otherwise callers might end up checking an
errno coming from a completely different function.
[1]: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/205
Signed-off-by: Simon Ser <contact@emersion.fr>
Fixes: b19488c7154b ("util: Limit size of wl_map")
Diffstat (limited to 'protocol')
0 files changed, 0 insertions, 0 deletions
