diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-08-24 13:44:35 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-05-08 00:29:18 +0200 |
commit | 428b3994f83354292e660ff881b30f6d06efac53 (patch) | |
tree | 2fda58d1df41aeb79312ccf861c902d1eddb50b4 /patches/st-xresources-20200604-9ba7ecf.diff | |
parent | c8a737946ef189fe774af9ee0159b60c0b8a26c4 (diff) |
fix possible rare crash when Xutf8TextPropertyToTextList fails
from the XmbTextListToTextProperty(3) man page:
"If insufficient memory is available for the new value string, the functions
return XNoMemory. If the current locale is not supported, the functions return
XLocaleNotSupported. In both of these error cases, the functions do not set
text_prop_return."
Reported by Steffen Nurpmeso <steffen@sdaoden.eu>, thanks!
Diffstat (limited to 'patches/st-xresources-20200604-9ba7ecf.diff')
0 files changed, 0 insertions, 0 deletions