diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-12-27 13:36:53 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2017-12-27 13:36:53 +0100 |
commit | db2236001c1cb042a2f24052849da96578273b1c (patch) | |
tree | f98bc6f0534622324ac2e1a32a6d00791bfa4335 /Makefile%252525252525253fid%252525252525253d10dfa65860d770cbce2cdaf67618f44f726a27c3%2525252525253fid%2525252525253d3bd8466e93b2c81be86e67c6ecdda4e1d240fe4b%25252525253fid%25252525253d76c8c16d79d4fd2a3e776800637d211e4dc8e50a%252525253fid%252525253d3cb34830eb25ebda15a23d8391fd69cddb4fc024%2525253fid%2525253d3cb34830eb25ebda15a23d8391fd69cddb4fc024%25253fid%25253d3cb34830eb25ebda15a23d8391fd69cddb4fc024%253fid%253d3cb34830eb25ebda15a23d8391fd69cddb4fc024%3fid%3d3cb34830eb25ebda15a23d8391fd69cddb4fc024?id=db2236001c1cb042a2f24052849da96578273b1c | |
parent | 3756f7f6b8dccf7a31789ffaf073a76fd1a87eb9 (diff) |
dont NUL terminate _NET_WM_NAME
Reported by Kernc, thanks!
"This makes a particular program that uses libwnck [1] fail after:
Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8
in this code [2] because the returned string contains a '\0' and the
documentation for g_utf8_validate() [3] explicitly states that when
string length is provided, no nul bytes are allowed."
It is not entirely clear it is incorrect, other WM's seem to not
NUL terminate it either though.
Diffstat (limited to 'Makefile%252525252525253fid%252525252525253d10dfa65860d770cbce2cdaf67618f44f726a27c3%2525252525253fid%2525252525253d3bd8466e93b2c81be86e67c6ecdda4e1d240fe4b%25252525253fid%25252525253d76c8c16d79d4fd2a3e776800637d211e4dc8e50a%252525253fid%252525253d3cb34830eb25ebda15a23d8391fd69cddb4fc024%2525253fid%2525253d3cb34830eb25ebda15a23d8391fd69cddb4fc024%25253fid%25253d3cb34830eb25ebda15a23d8391fd69cddb4fc024%253fid%253d3cb34830eb25ebda15a23d8391fd69cddb4fc024%3fid%3d3cb34830eb25ebda15a23d8391fd69cddb4fc024?id=db2236001c1cb042a2f24052849da96578273b1c')
0 files changed, 0 insertions, 0 deletions