tools: edimax_fw_header: fix suspicious memset usage
authorFlorian Fainelli <florian@openwrt.org>
Sat, 10 Jan 2015 18:08:16 +0000 (18:08 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 10 Jan 2015 18:08:16 +0000 (18:08 +0000)
commit0c5feac5731052fea718ebf350b13d9eaaefc432
tree6e4c477881efd7ce349fd1cf21085d45ab19a046
parent3db73fc3506b917d8bac785d8adeb2daaa0429d7
tools: edimax_fw_header: fix suspicious memset usage

memset() was called with a size argument against a pointer size, not the
structure size itself.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 43913
tools/firmware-utils/src/edimax_fw_header.c