diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /x11-terms/st/files | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'x11-terms/st/files')
-rw-r--r-- | x11-terms/st/files/st-0.8.4-locale-musl-segfault.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-terms/st/files/st-0.8.4-locale-musl-segfault.patch b/x11-terms/st/files/st-0.8.4-locale-musl-segfault.patch new file mode 100644 index 000000000000..b70574025eb2 --- /dev/null +++ b/x11-terms/st/files/st-0.8.4-locale-musl-segfault.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/784071 +https://git.suckless.org/st/commit/2f6e597ed871cff91c627850d03152cae5f45779.html +--- a/x.c ++++ b/x.c +@@ -1585,8 +1585,9 @@ xsettitle(char *p) + XTextProperty prop; + DEFAULT(p, opt_title); + +- Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle, +- &prop); ++ if (Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle, ++ &prop) != Success) ++ return; + XSetWMName(xw.dpy, xw.win, &prop); + XSetTextProperty(xw.dpy, xw.win, &prop, xw.netwmname); + XFree(prop.value); |