Re: [Linux-kernel-mentees] [PATCH] media/v4l2-core: Fix kernel-infoleak in video_put_user()

Peilin Ye
2020-07-26T18:12:27Z

Sorry, by this code example:

char *p = (char *)&vb32;
int i;

for (i = 0; i < sizeof(struct vb32); i++, p++)
printk("*(p + i): %d", *(p + i));

actually I meant:

char *p = (char *)&vb32;
int i;

for (i = 0; i < sizeof(struct vb32); i++)
printk("*(p + i): %d", *(p + i));

But the idea is the same.

Thank you,
Peilin Ye