lkml.org 
[lkml]   [2020]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Linux-kernel-mentees] [PATCH] media/v4l2-core: Fix kernel-infoleak in video_put_user()
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

\
 
 \ /
  Last update: 2020-07-26 20:12    [W:0.117 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site