On Thu, Dec 10, 2015 at 08:59:34AM +0100, Tobias Klauser wrote: > If job %0 is (mistakenly) specified, an out-of-bounds access to the > jobtab occurs in function getjob() if num = 0: > > jp = jobtab + 0 - 1 > > Fix this by checking that the job number is larger than 0 before > accessing the jobtab. > > Signed-off-by: Tobias Klauser <tklau...@distanz.ch>
Patch applied. Thanks! -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe dash" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html