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)
commit825cd51359b096151f6c16e09ad08ac3beed69e3
treeab8dd7ee40abc16a4f9b9b0e242cc9348321ed5a
parent888231dc5c5cdfac194aa0fe731d89478cecc089
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
src/edimax_fw_header.c