Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133547
b: refs/heads/master
c: 31dbb80
h: refs/heads/master
i:
  133545: aeac23e
  133543: d62f66d
v: v3
  • Loading branch information
Johannes Weiner authored and Greg Kroah-Hartman committed Mar 24, 2009
1 parent dd3cbb1 commit 78738c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d34d9721a559fd11ec682bd9ef17220de0162060
refs/heads/master: 31dbb803464d75b96212cce9052dfeaeac0819de
3 changes: 1 addition & 2 deletions trunk/drivers/usb/host/hwa-hc.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,7 @@ static int __hwahc_dev_set_key(struct wusbhc *wusbhc, u8 port_idx, u32 tkid,
port_idx << 8 | iface_no,
keyd, keyd_len, 1000 /* FIXME: arbitrary */);

memset(keyd, 0, sizeof(*keyd)); /* clear keys etc. */
kfree(keyd);
kzfree(keyd); /* clear keys etc. */
return result;
}

Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/usb/wusbcore/cbaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,7 @@ static void cbaf_disconnect(struct usb_interface *iface)
usb_put_intf(iface);
kfree(cbaf->buffer);
/* paranoia: clean up crypto keys */
memset(cbaf, 0, sizeof(*cbaf));
kfree(cbaf);
kzfree(cbaf);
}

static struct usb_device_id cbaf_id_table[] = {
Expand Down

0 comments on commit 78738c2

Please sign in to comment.