Code

Fixed memory errors identified by LLVM's AddressSanitizer.
authorSebastian Harl <sh@tokkee.org>
Sun, 12 Jan 2014 17:37:04 +0000 (18:37 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 12 Jan 2014 17:37:04 +0000 (18:37 +0100)
commit7eae8c92fd40a050f9ce4a7132191fbcef810dc0
tree04a4e86963692582c6cae302e423c96a845021ff
parentdd6f2b0f41acd918757be05bb6c9796740b009bc
Fixed memory errors identified by LLVM's AddressSanitizer.

Test performed as:

  ./configure CC=clang \
      CFLAGS="-O0 -g -fsanitize=address -fno-omit-frame-pointer" \
      LDFLAGS=-fsanitize=address
  make clean all test

See also http://clang.llvm.org/docs/AddressSanitizer.html
src/frontend/sock.c
src/utils/unixsock.c