cppcheck analysis of x11vnc_0.9.10-1.1.dsc
- ./libvncserver/corre.c:122 [error] - Common realloc mistake: "rreBeforeBuf" nulled but not freed upon failure
- ./libvncserver/corre.c:130 [error] - Common realloc mistake: "rreAfterBuf" nulled but not freed upon failure
- ./libvncserver/font.c:177 [error] - Resource leak: f
- ./libvncserver/rfbserver.c:1502 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./libvncserver/rfbserver.c:1227 [error] - Resource leak: dirp
- ./libvncserver/rre.c:90 [error] - Common realloc mistake: "rreBeforeBuf" nulled but not freed upon failure
- ./libvncserver/rre.c:98 [error] - Common realloc mistake: "rreAfterBuf" nulled but not freed upon failure
- ./libvncserver/vncauth.c:123 [error] - Memory leak: passwd
- ./x11vnc/connections.c:595 [error] - Memory leak: old_display
- ./x11vnc/connections.c:2601 [error] - Memory leak: str
- ./x11vnc/linuxfb.c:268 [error] - Memory leak: atparms
- ./x11vnc/linuxfb.c:66 [error] - Memory leak: in
- ./x11vnc/macosx.c:244 [error] - Memory leak: in
- ./x11vnc/macosx.c:244 [error] - Memory leak: atparms
- ./x11vnc/screen.c:2270 [error] - Memory leak: rstr
- ./x11vnc/screen.c:1682 [error] - Resource leak: fd
- ./x11vnc/screen.c:1704 [error] - Resource leak: fd
- ./x11vnc/sslhelper.c:338 [error] - Resource leak: cnf_fd
- ./x11vnc/sslhelper.c:338 [error] - Resource leak: pem_fd
- ./x11vnc/sslhelper.c:288 [error] - Memory leak: C
- ./x11vnc/sslhelper.c:288 [error] - Memory leak: L
- ./x11vnc/sslhelper.c:288 [error] - Memory leak: OU
- ./x11vnc/sslhelper.c:288 [error] - Memory leak: O
- ./x11vnc/sslhelper.c:288 [error] - Memory leak: CN
- ./x11vnc/sslhelper.c:288 [error] - Memory leak: EM
- ./x11vnc/sslhelper.c:453 [error] - Memory leak: pathcrt
- ./x11vnc/enc.h:1128 [error] - Memory leak: md5str
- ./x11vnc/enc.h:1166 [error] - Memory leak: str1
- ./x11vnc/enc.h:1166 [error] - Memory leak: str2
- ./x11vnc/enc.h:1518 [error] - Memory leak: rsasav
- ./x11vnc/sslhelper.c:4320 [error] - Memory leak: cipher
- ./x11vnc/sslhelper.c:3189 [error] - Memory leak: buf
- ./x11vnc/unixpw.c:2087 [error] - Memory leak: opts
- ./x11vnc/unixpw.c:2087 [error] - Memory leak: opts_star
- ./x11vnc/user.c:2271 [error] - Memory leak: str
- ./x11vnc/user.c:2536 [error] - Memory leak: tag
- ./x11vnc/user.c:2775 [error] - Resource leak: p
- ./x11vnc/user.c:2971 [error] - Memory leak: str
- ./x11vnc/util.c:725 [error] - Memory leak: th
- ./x11vnc/v4l.c:432 [error] - Memory leak: inp
- ./x11vnc/v4l.c:1363 [error] - Memory leak: atparms
- ./x11vnc/x11vnc.c:1404 [error] - Memory leak: q
- ./x11vnc/x11vnc.c:1395 [error] - Resource leak: in
- ./x11vnc/x11vnc.c:5901 [error] - Memory leak: query_match
- ./x11vnc/x11vnc.c:5901 [error] - Memory leak: got_rfbport_str
- ./x11vnc/x11vnc.c:2843 [error] - Memory leak: cdir
- ./x11vnc/x11vnc.c:1068 [error] - Dangerous usage of 'rcfile' (strncpy doesn't always 0-terminate it)
- ./x11vnc/xevents.c:823 [error] - Memory leak: dstr
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:20:09 +0000, based on results by cppcheck 1.46