diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-03-02 15:08:21 -0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-12 09:34:39 +0200 |
commit | f6c5069ac78d2fe9883cc7ddaf1f32cc17d27107 (patch) | |
tree | e341ef2942069eba48f4ef8c6b3d36864f58c610 /testscripts | |
parent | 0284afb80cefe1ae3c2567dd46427b5d425791b1 (diff) | |
download | nx-libs-f6c5069ac78d2fe9883cc7ddaf1f32cc17d27107.tar.gz nx-libs-f6c5069ac78d2fe9883cc7ddaf1f32cc17d27107.tar.bz2 nx-libs-f6c5069ac78d2fe9883cc7ddaf1f32cc17d27107.zip |
Avoid overflows in XListFonts() [CVE-2013-1997 13/15]
Ensure that when breaking the returned list into individual strings,
we don't walk past the end of allocated memory to write the '\0' bytes
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'testscripts')
0 files changed, 0 insertions, 0 deletions