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

Commit 4f837d79 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: adsprpc: Fix memory out of bounds error"

parents 9494214d 12b3772b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3207,7 +3207,7 @@ static int fastrpc_device_open(struct inode *inode, struct file *filp)
		return err;

	snprintf(strpid, PID_SIZE, "%d", current->pid);
	buf_size = strlen(current->comm) + strlen(strpid) + 1;
	buf_size = strlen(current->comm) + strlen("_") + strlen(strpid) + 1;
	VERIFY(err, NULL != (fl->debug_buf = kzalloc(buf_size, GFP_KERNEL)));
	if (err) {
		kfree(fl);