summaryrefslogtreecommitdiff
path: root/src/sock.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-11-16 13:07:19 +0100
committerMichael Adam <obnox@samba.org>2013-11-16 13:07:19 +0100
commitbb2e894e0dd7cafb730ea56496dbc43997f6c98e (patch)
tree7f74af0923a96baea055376471ff192ad6f25a59 /src/sock.c
parent7e1d8154dee83b828d8e410f0ef96fae1d1ed815 (diff)
downloadtinyproxy-bb2e894e0dd7cafb730ea56496dbc43997f6c98e.tar.gz
tinyproxy-bb2e894e0dd7cafb730ea56496dbc43997f6c98e.zip
BB#116: fix invalid free when connecting to ipv6 literal address
When removing the '[' and ']' characers from the ipv6 literal address, make sure the pointer that is later free'd stays a malloced pointer by memmoving the string one place left. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src/sock.c')
0 files changed, 0 insertions, 0 deletions