diff options
author | Christian Beier <dontmind@freeshell.org> | 2010-01-07 18:58:49 +0100 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2010-01-07 18:58:49 +0100 |
commit | 07008deea297c3e1183f0c9bdeb071b128ff4619 (patch) | |
tree | 72f3c35e847d7fe8cac7cc0095a39574d1abd01f /x11vnc/rates.c | |
parent | 6220f13003a0d73d7659bd77fbe29abefa49969f (diff) | |
download | libtdevnc-07008deea297c3e1183f0c9bdeb071b128ff4619.tar.gz libtdevnc-07008deea297c3e1183f0c9bdeb071b128ff4619.zip |
libvncserver/font.c: add some checks to rfbDrawChar().
In some cases (bad font data) the coordinates evaluate to <0,
causing a segfault in the following memcpy().
[jes: keep the offset, but do not try to segfault]
Signed-off-by: Christian Beier <dontmind@freeshell.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'x11vnc/rates.c')
0 files changed, 0 insertions, 0 deletions