diff options
| author | Dan Carpenter <[email protected]> | 2011-11-16 08:21:50 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2011-11-16 08:21:50 +0000 |
| commit | a2c2a0e668e26e020731ce2a40e6474d1d37210a (patch) | |
| tree | 81f0f6aabffb97fe6c0ec06fd7042c5147cceb9c /lib/debugobjects.c | |
| parent | bio: change some signed vars to unsigned (diff) | |
| download | kernel-a2c2a0e668e26e020731ce2a40e6474d1d37210a.tar.gz kernel-a2c2a0e668e26e020731ce2a40e6474d1d37210a.zip | |
paride: fix potential information leak in pg_read()
Smatch has a new check for Rosenberg type information leaks where structs
are copied to the user with uninitialized stack data in them. i In this
case, the pg_write_hdr struct has a hole in it.
struct pg_write_hdr {
char magic; /* 0 1 */
char func; /* 1 1 */
/* XXX 2 bytes hole, try to pack */
int dlen; /* 4 4 */
Signed-off-by: Dan Carpenter <[email protected]>
Cc: Tim Waugh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
