Commit Graph

9 Commits (66ead2a7f23a30b4f441c18f5d884ea398055391)

Author SHA1 Message Date
Lioncash c550e1ac69 font: Fix a small resource leak in a failure case in rfbLoadConsoleFont()
The file handle wouldn't be closed in this instance.
8 years ago
Christian Beier e832999a58 Set proper file permissions for source files. 14 years ago
Christian Beier 07008deea2 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>
15 years ago
dscho 6fb77fb0c1 fix off by one bug 20 years ago
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 20 years ago
dscho 8d2ae4ea51 add comment "if col=bcol, assume background is transparent" 20 years ago
dscho b9a8f19bb4 fix segfault when trying to write outside of frameBuffer 20 years ago
dscho 97299606da global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
21 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 21 years ago