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

Commit aadc766a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: Fix for Possible information leak issue"

parents 7cfe3ccf da044cfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ static int msm_fd_open(struct file *file)
	}

	ctx->mem_pool.fd_device = ctx->fd_device;
	ctx->stats = vmalloc(sizeof(*ctx->stats) * MSM_FD_MAX_RESULT_BUFS);
	ctx->stats = vzalloc(sizeof(*ctx->stats) * MSM_FD_MAX_RESULT_BUFS);
	if (!ctx->stats) {
		dev_err(device->dev, "No memory for face statistics\n");
		ret = -ENOMEM;