Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221019
b: refs/heads/master
c: 3af54c9
h: refs/heads/master
i:
  221017: 8d25cbd
  221015: 6cc73bc
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Linus Torvalds committed Oct 30, 2010
1 parent 60ed0a3 commit e01efd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 504b701bb1655747575095543c083267418e02ac
refs/heads/master: 3af54c9bd9e6f14f896aac1bb0e8405ae0bc7a44
1 change: 1 addition & 0 deletions trunk/ipc/shm.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ static inline unsigned long copy_shmid_to_user(void __user *buf, struct shmid64_
{
struct shmid_ds out;

memset(&out, 0, sizeof(out));
ipc64_perm_to_ipc_perm(&in->shm_perm, &out.shm_perm);
out.shm_segsz = in->shm_segsz;
out.shm_atime = in->shm_atime;
Expand Down

0 comments on commit e01efd8

Please sign in to comment.