the following patch was just integrated into master: commit f58746bd33f28bc7625e4fd6b166b6f977253c7d Author: Nico Huber nico.huber@secunet.com Date: Wed Aug 19 17:22:26 2015 +0200
libpayload: Fix default_memmove() implementation
If I wanted to fill the whole memory address space with one byte, I wouldn't try it that subtle.
With size_t beeing unsigned the loop condition >= 0 was always true.
Change-Id: Idee6a4901f6697093c88bda354b5e43066c0d948 Signed-off-by: Nico Huber nico.huber@secunet.com Reviewed-on: http://review.coreboot.org/11286 Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org Reviewed-by: Aaron Durbin adurbin@chromium.org Tested-by: build bot (Jenkins)
See http://review.coreboot.org/11286 for details.
-gerrit