Make sure the address variable is initialized to zero - it is only set when a
authorWard Vandewege <ward@gnu.org>
Thu, 18 Jun 2009 16:38:35 +0000 (16:38 +0000)
committerWard Vandewege <ward@gnu.org>
Thu, 18 Jun 2009 16:38:35 +0000 (16:38 +0000)
commitecf4ef0b26c6bd07380c322d449aacc55f0acbb3
tree5f08eef9360b97fddd3de27132f09502d70657a4
parentda8336176e1b7bfa7c944533136a3a78a3907a7b
Make sure the address variable is initialized to zero - it is only set when a
[base address] parameter is supplied on the command line... This patch fixes
random segfaults when using 'cbfstool add'.

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4363 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/cbfstool/add.c