From: Alan Cox Date: Mon, 20 Jan 2014 18:10:11 +0000 (+0100) Subject: perf tools: Ensure sscanf does not overrun the "mem" field X-Git-Tag: v3.14-rc1~95^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a761a2d8a7175b7b4e8525e0672e1a8d3c051001;p=pandora-kernel.git perf tools: Ensure sscanf does not overrun the "mem" field Make the parsing robust. (perf has some other assumptions that BUFSIZE <= MAX_PATH which are not touched here) Reported-by: Jackie Chang Signed-off-by: Alan Cox Cc: Alan Cox Cc: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-g2uoiwbrpiimb63rx32qv8ne@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed