==9485== Memcheck, a memory error detector ==9485== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==9485== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==9485== Command: x11vnc ==9485== Parent PID: 32582 ==9485== ==9485== Syscall param write(buf) points to uninitialised byte(s) ==9485== at 0x70FCDC0: __write_nocancel (syscall-template.S:81) ==9485== by 0x4E4CFD8: rfbWriteExact (in /usr/lib64/libvncserver.so.0.0.0) ==9485== by 0x4E4A40F: rfbSendServerCutText (in /usr/lib64/libvncserver.so.0.0.0) ==9485== by 0x17A689: selection_send (in /usr/bin/x11vnc) ==9485== by 0x1C25F8: check_xevents (in /usr/bin/x11vnc) ==9485== by 0x1782F5: watch_loop (in /usr/bin/x11vnc) ==9485== by 0x11A177: main (in /usr/bin/x11vnc) ==9485== Address 0xffefe6c21 is on thread 1's stack ==9485== in frame #2, created by rfbSendServerCutText (???) ==9485== ==9485== Invalid read of size 4 ==9485== at 0x1C6547: record_CW (in /usr/bin/x11vnc) ==9485== by 0x1C73A2: record_switch (in /usr/bin/x11vnc) ==9485== by 0x593CBA8: parse_reply_call_callback.isra.1 (in /usr/lib64/libXtst.so.6.1.0) ==9485== by 0x593D13D: record_async_handler (in /usr/lib64/libXtst.so.6.1.0) ==9485== by 0x67C44E4: ??? (in /usr/lib64/libX11.so.6.3.0) ==9485== by 0x67C4FEC: _XEventsQueued (in /usr/lib64/libX11.so.6.3.0) ==9485== by 0x67B47D4: XPending (in /usr/lib64/libX11.so.6.3.0) ==9485== by 0x1A33B9: check_xrecord (in /usr/bin/x11vnc) ==9485== by 0x1AECDC: check_user_input (in /usr/bin/x11vnc) ==9485== by 0x178B7D: watch_loop (in /usr/bin/x11vnc) ==9485== by 0x11A177: main (in /usr/bin/x11vnc) ==9485== Address 0x100693ec is 0 bytes after a block of size 28 alloc'd ==9485== at 0x4C2D67D: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==9485== by 0x593CF48: alloc_reply_buffer.isra.2 (in /usr/lib64/libXtst.so.6.1.0) ==9485== by 0x593D0BD: record_async_handler (in /usr/lib64/libXtst.so.6.1.0) ==9485== by 0x67C44E4: ??? (in /usr/lib64/libX11.so.6.3.0) ==9485== by 0x67C4FEC: _XEventsQueued (in /usr/lib64/libX11.so.6.3.0) ==9485== by 0x67B47D4: XPending (in /usr/lib64/libX11.so.6.3.0) ==9485== by 0x1A33B9: check_xrecord (in /usr/bin/x11vnc) ==9485== by 0x1AECDC: check_user_input (in /usr/bin/x11vnc) ==9485== by 0x178B7D: watch_loop (in /usr/bin/x11vnc) ==9485== by 0x11A177: main (in /usr/bin/x11vnc) ==9485== ==9485== ==9485== HEAP SUMMARY: ==9485== in use at exit: 28,681,331 bytes in 2,076 blocks ==9485== total heap usage: 229,796 allocs, 227,720 frees, 81,450,309 bytes allocated ==9485== ==9485== LEAK SUMMARY: ==9485== definitely lost: 6,944 bytes in 18 blocks ==9485== indirectly lost: 72,762 bytes in 24 blocks ==9485== possibly lost: 0 bytes in 0 blocks ==9485== still reachable: 28,601,625 bytes in 2,034 blocks ==9485== suppressed: 0 bytes in 0 blocks ==9485== Rerun with --leak-check=full to see details of leaked memory ==9485== ==9485== For counts of detected and suppressed errors, rerun with: -v ==9485== Use --track-origins=yes to see where uninitialised values come from ==9485== ERROR SUMMARY: 7 errors from 2 contexts (suppressed: 0 from 0)