aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-08-24 13:44:35 +0200
committersinanmohd <pcmsinan@gmail.com>2023-01-12 08:20:21 +0530
commitf3d1a0e667934251184a8f41bd465045f9f68816 (patch)
treeaa05c76b18f6cedbb92d4300f1ff94198ccfb775 /st.c
parentbc6ba81cbccea13e9593300a644871cd49aa8aa2 (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 'st.c')
0 files changed, 0 insertions, 0 deletions