[LTP] [PATCH] crypto/af_alg06: new regression test for setting malformed authenc key

Petr Vorel pvorel@suse.cz
Mon Apr 22 23:21:53 CEST 2019


Hi Eric,

> +	tst_res(TINFO,
> +		"Setting malformed authenc key.  May crash buggy kernels.");
> +	TEST(setsockopt(algfd, SOL_ALG, ALG_SET_KEY, &key, sizeof(key)));
While test itself works nicely (crashes 4.20 kernel), there were still some
old distros issues - missing SOL_ALG [1].
Thus pushed with added lapi/socket.h include.

Kind regards,
Petr

[1] https://api.travis-ci.org/v3/job/523184489/log.txt



More information about the ltp mailing list