swrap: Truncate the address if the buffer is to small.
commitf288efcd78d45ac8fe0ead7c7960cfe60a909ed2
authorAndreas Schneider <asn@samba.org>
Tue, 3 Jun 2014 12:58:24 +0000 (3 14:58 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 5 Jun 2014 21:57:10 +0000 (5 23:57 +0200)
treeceabefa6916cae07ae999a5875e5c2c6e4536c5d
parent1df081058326afb655f2860439b7b8c23403423b
swrap: Truncate the address if the buffer is to small.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/socket_wrapper/socket_wrapper.c