From: Ohad Ben-Cohen Date: Tue, 28 Feb 2012 14:16:48 +0000 (+0200) Subject: rpmsg: validate incoming message length before propagating X-Git-Tag: v3.4-rc1~87^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9648224e564aa0d6e3a803bd0e056802cc97297c;p=pandora-kernel.git rpmsg: validate incoming message length before propagating When an inbound message arrives, validate its reported length before propagating it, otherwise buggy (or malicious) remote processors might trick us into accessing memory which we really shouldn't. Signed-off-by: Ohad Ben-Cohen Cc: Grant Likely Cc: Arnd Bergmann Cc: Mark Grosen Cc: Suman Anna Cc: Fernando Guzman Lugo Cc: Rob Clark Cc: Ludovic BARRE Cc: Loic PALLARDY Cc: Omar Ramirez Luna --- Reading git-diff-tree failed