summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-08-24 13:44:35 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-08-24 13:44:35 +0200
commit2f6e597ed871cff91c627850d03152cae5f45779 (patch)
treeed4a5c5cbeac9828b79d111e19484d89d1fa9f55 /util.c
parent1d3142da968da7f6f61f1c1708f39ca233eda150 (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 'util.c')
0 files changed, 0 insertions, 0 deletions