https://bugs.kde.org/show_bug.cgi?id=511717

Paul Floyd <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Paul Floyd <[email protected]> ---
Looks like it is here

      case 'm':
         decode_m_packet (&own_buf[1], &mem_addr, &len);
         if (valgrind_read_memory (mem_addr, mem_buf, len) == 0)
            convert_int_to_ascii (mem_buf, own_buf, len);
         else
            write_enn (own_buf);
         break;

in server.c

Any of mem_addr, mem_buf and len could be wrong.

Would it be possible for you to build Valgrind from git to run some tests?
If so, add a line that says

vg_assert( len <= PBUFSIZ+POVERHSIZ );

after the call to decode_m_packet

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to