Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211159
b: refs/heads/master
c: 982f7c2
h: refs/heads/master
i:
  211157: 4c66cc2
  211155: f2df3f7
  211151: 5f95479
v: v3
  • Loading branch information
Dan Rosenberg authored and Linus Torvalds committed Oct 1, 2010
1 parent 1609997 commit 13db3fd
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 64aab720bdf8771214a7c88872bd8e3194c2d279
refs/heads/master: 982f7c2b2e6a28f8f266e075d92e19c0dd4c6e56
2 changes: 2 additions & 0 deletions trunk/ipc/sem.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in,
{
struct semid_ds out;

memset(&out, 0, sizeof(out));

ipc64_perm_to_ipc_perm(&in->sem_perm, &out.sem_perm);

out.sem_otime = in->sem_otime;
Expand Down

0 comments on commit 13db3fd

Please sign in to comment.