diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-03-02 12:39:58 -0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-12 09:34:39 +0200 |
commit | e386187e91569eae3064927d5b5753a7a68ace47 (patch) | |
tree | d16b9ab88883a69aa9b54a4fc26f0170cdc4a955 /nxcomp/ChangeGC.h | |
parent | bddfee4a987c0ef5eb26e1b14b8385e7630a1e21 (diff) | |
download | nx-libs-e386187e91569eae3064927d5b5753a7a68ace47.tar.gz nx-libs-e386187e91569eae3064927d5b5753a7a68ace47.tar.bz2 nx-libs-e386187e91569eae3064927d5b5753a7a68ace47.zip |
Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2]
parseline() can call _XimParseStringFile() which can call parseline()
which can call _XimParseStringFile() which can call parseline() ....
eventually causing recursive stack overflow and crash.
Limit is set to a include depth of 100 files, which should be enough
for all known use cases, but could be adjusted later if necessary.
Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
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 'nxcomp/ChangeGC.h')
0 files changed, 0 insertions, 0 deletions