xserver/Xext/security
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mason Green 1090a8b19b Xext: security: fix double free when AddResource() fails
When AddResource() cannot allocate its record, it calls the resource
type's delete function before returning FALSE. For an authorization that
is SecurityDeleteAuthorization(), which removes the authorization,
releases its event clients and frees pAuth.

ProcSecurityGenerateAuthorization() then went to bailout, which removed
the authorization a second time and freed pAuth again. Return BadAlloc
directly instead.

Signed-off-by: Mason Green <mason@greenm01.net>
2026-10-14 11:59:30 +02:00
..
meson.build Xext: security: move it into it's own subdir 2026-06-18 14:47:39 +02:00
security.c Xext: security: fix double free when AddResource() fails 2026-10-14 11:59:30 +02:00
securitysrv.h xext: security: securitysrv.h: fix includes 2026-07-29 17:29:15 +02:00