mkregtable: Fix sscanf handling
authorAlan <gnomes@lxorguk.ukuu.org.uk>
Tue, 17 Dec 2013 15:05:39 +0000 (15:05 +0000)
committerJiri Kosina <jkosina@suse.cz>
Fri, 10 Jan 2014 14:28:10 +0000 (15:28 +0100)
If you feed the tool a suitable bogus register map you can break it
in arbitary (code executing) ways. While this isn't a particularly
exciting or probable attack vector we still ought to fix it.

One of a set of sscanf issues reported by Jackie Chang

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found