diff options
author | Colin Harrison <colin.harrison@virgin.net> | 2013-06-25 21:34:43 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-07-23 23:59:41 +0100 |
commit | e95bb97073ca77193e4c51bd1504403fbe245533 (patch) | |
tree | 743964b1948e61dda29959548404644a643680f3 /COPYING | |
parent | 4bc375aa2f08bd092f60d3e358d345fc9a0d3637 (diff) |
hw/xwin: Fix possible crash in winMultiWindowGetClassHint
Fix a possible crash in winMultiWindowGetClassHint() when an application doesn't
null terminate the WM_CLASS property class name (which is an ICCCM conformance
bug in the application)
(Reported for running the contiki cooja simulator in multiwindow mode, although
it seems that many Java clients may have this problem, see [1])
Based on a patch by Marc Haesen.
v2: Avoid using strnlen() which is missing on MinGW
v3: Align with Xming patch
[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6961123
Signed-off-by: Colin Harrison <colin.harrison@virgin.net>
Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions