Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2348ac7c authored by Tanwee Kausar's avatar Tanwee Kausar
Browse files

kernel: crypto: Possible null pointer dereference



Removing possible null pointer derefrence during error
exit.

Change-Id: Ic7246a39685942f308b35ab2b5f8f30a834e5f4c
Signed-off-by: default avatarTanwee Kausar <tkausar@codeaurora.org>
parent a9974f00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1988,7 +1988,7 @@ long qcedev_ioctl(struct file *file,

exit_free_qcedev_areq:
	if (cmd != QCEDEV_IOCTL_MAP_BUF_REQ &&
		cmd != QCEDEV_IOCTL_UNMAP_BUF_REQ)
		cmd != QCEDEV_IOCTL_UNMAP_BUF_REQ && podev != NULL)
		qcedev_ce_high_bw_req(podev, false);
	kfree(qcedev_areq);
	return err;