main: fix an Out-of-bounds access
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 11:52:10 +0000 (13:52 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 12:15:24 +0000 (14:15 +0200)
commit9cbfc68294cd243c871e741d570e33031eaf726e
tree02e157afbe272e046de708b64ecd38c13c8b95a6
parent23ba32267f3c53d614ccd6f282d848193533617f
main: fix an Out-of-bounds access

Coverity:
CID 739670 (#1 of 1): Out-of-bounds access (OVERRUN)
At (46): Overrunning struct type in_addr of 4 bytes by passing it to a
         function which accesses it at byte offset 15 using argument
         "16UL".

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/main.c