the following patch was just integrated into master: commit 0c70e2ca93cf61777adc077971bbd6724d844f2a Author: Aaron Durbin adurbin@chromium.org Date: Wed Mar 5 14:54:13 2014 -0600
cbfstool: elfheaders: use proper parameters to calloc()
Though the result doesn't matter much, the callers of calloc() should order the parameters correctly. i.e. the first paramter is the number of elements in an array and the second is the size of each element.
Change-Id: Ic7c2910d623d96f380feb4e5f6fa432376f49e9b Signed-off-by: Aaron Durbin adurbin@chromium.org
See http://review.coreboot.org/5371 for details.
-gerrit