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)
commite8968a9b93d9ea8600e701ac38fc6f00266876c7
treeab15a86b4267aa96a2c4bed557321d9e6e6aad58
parent910841f13503969789c04f6cad169b25b11a48dd
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