From: Simon Derr Date: Tue, 11 Mar 2014 09:14:15 +0000 (+0100) Subject: 9pnet_rdma: check token type before int conversion X-Git-Tag: v3.15-rc1~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5daf1e2c199746767d94b4036638ba11d528b3;p=pandora-kernel.git 9pnet_rdma: check token type before int conversion When parsing options, make sure we have found a proper token before doing a numeric conversion. Without this check, the current code will end up following random pointers that just happened to be on the stack when this function was called, because match_token() will not touch the 'args' list unless a valid token is found. Signed-off-by: Simon Derr Signed-off-by: Eric Van Hensbergen --- Reading git-diff-tree failed