[tools] brcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using strncpy...
authorcshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Nov 2010 04:08:09 +0000 (04:08 +0000)
committercshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Nov 2010 04:08:09 +0000 (04:08 +0000)
commit59e644e8269a0cb60f6ed6e12164c7e3a10ee06d
tree1b5424f7a93a54ab358427a7b76274b8874a4bc5
parent71b59686b1acf48f874cc49ceda6ec656c4d20ae
[tools] brcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using strncpy to copy the CRC into the imagetag.  strncpy stops copying after a 00 byte, memcpy doesn't.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24000 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/firmware-utils/src/imagetag.c