gui: linux: fix string buffer overflow
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 7 Nov 2012 16:17:22 +0000 (17:17 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 7 Nov 2012 16:21:12 +0000 (17:21 +0100)
commitc1f0badd06f5b566eb269fcd6b7159ce83fd4758
treef448101b55bdc89a24e8b8371d3adea5a0b852b7
parent3f99c69413ac0d3d1c065761600a19cf628b51dd
gui: linux: fix string buffer overflow

Coverity:
CID 742358 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW)
At (1): You might overrun the 255 byte fixed-size string "title" by
        copying the return value of "ip_to_string(union olsr_ip_addr *)"
        without checking the length.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
gui/linux-gtk/src/interface.c