mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-22 01:20:26 +00:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
When the configuration file is parsed at server startup, select_ns() dynamically allocates namespace structures. However, it does not check whether calloc() or strdup() successfully allocate memory. If calloc() fails, the server dereferences a NULL pointer and crashes instantly. If strdup() fails, the namespace is added to the global list with a NULL name. When the server later searches for a namespace, it calls strlen() on the NULL name. This causes a delayed crash of the server at runtime. Fix this by adding standard FatalError() checks to handle allocation failures safely during startup. Also include a formal TLA+ verification model of the Xnamespace security isolation extension in doc/Xnamespace.tla. Signed-off-by: Mason Green <mason@greenm01.net> |
||
| .. | ||
| dtrace | ||
| .gitignore | ||
| c-extensions | ||
| filter-xmlto.sh | ||
| meson.build | ||
| smartsched | ||
| Xinput.xml | ||
| Xnamespace-protocol.md | ||
| Xnamespace.md | ||
| Xnamespace.tla | ||
| Xserver-spec.xml | ||