#1 Memory corruption in free()

open
nobody
None
5
2008-01-05
2008-01-05
Anonymous
No

There was a memory corruption caused by misallocation of memory in src/callbacks.c and src/synergy_config.c. While calculating the size of the memory to be allocated, 1 byte for the NULL character at the end of the C string was missed out, causing quicksynergy to receive SIGABRT while free()-ing memory. This patch fixes the error.

Discussion

  • Patch to solve memory corruption problem

     
    Attachments