tools: edimax_fw_header: fix suspicious memset usage
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 10 Jan 2015 18:08:16 +0000 (18:08 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 10 Jan 2015 18:08:16 +0000 (18:08 +0000)
commit8726cda0057937116b11c730f300dfe61e4fe9a1
treeab15a86b4267aa96a2c4bed557321d9e6e6aad58
parenta0a318cbd2447a2b9d50db3d00af3421f70bfd4f
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43913 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/firmware-utils/src/edimax_fw_header.c