BR3392274: output: Elf -- Don't crash on erronious syntax
authorCyrill Gorcunov <gorcunov@gmail.com>
Sat, 15 Feb 2014 14:40:12 +0000 (18:40 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sat, 15 Feb 2014 14:40:12 +0000 (18:40 +0400)
commitd0293d339272af18b2258d702d3e1e44c0501292
tree8866d08063a3a5d563dbdff8bf5e20220e895bb8
parentaf10bfe167d6dac990b25b4b88aafb9f6709fb20
BR3392274: output: Elf -- Don't crash on erronious syntax

Elf align section attribute requires syntax "align=value",
but in case if '=' is missed we pass nil pointer into
atoi function which cause libc to crash.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/outelf.c