gresolv: Fix buffer size
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 31 Aug 2011 08:43:46 +0000 (11:43 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 12 Sep 2011 09:40:48 +0000 (11:40 +0200)
commita193072b8357a3e39a1a10f93a688df3bfd4fa29
treea52f001dfb030561d7c9f31d83c1073d82648c38
parent7598b4c566568aa49ac2f24677cd17592cbd449a
gresolv: Fix buffer size

Make buf just big enough and initialize it in order to get
rid of valgrind error (accessing uninitialized memory).
gweb/gresolv.c