]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't modify the destination pointer in ioctl requests.
authorjhb <jhb@FreeBSD.org>
Thu, 5 Nov 2020 23:26:02 +0000 (23:26 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 5 Nov 2020 23:26:02 +0000 (23:26 +0000)
commit7654795330aaf44207694fe59769db4ea2bafa16
tree0ace378253cff378652556f815e6a0e0b490cdaf
parent1280af460f70181e8186688b0c8260c044436f40
Don't modify the destination pointer in ioctl requests.

This breaks the case where the original pointer was NULL but an
in-line IV was used.

Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D27064
sys/opencrypto/cryptodev.c