diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-11-05 09:12:08 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-11-05 09:12:08 -0600 |
commit | 6dedeb34190873b3b4bddbfdf377307759c3c848 (patch) | |
tree | b568723940cd1f01aa5cba2a8c73d1708a767efd /nuttx/ChangeLog | |
parent | a757713d618934b70e615d9b8203a65c1ba9c84b (diff) | |
download | nuttx-6dedeb34190873b3b4bddbfdf377307759c3c848.tar.gz nuttx-6dedeb34190873b3b4bddbfdf377307759c3c848.tar.bz2 nuttx-6dedeb34190873b3b4bddbfdf377307759c3c848.zip |
Correct unitialization of composite USB device. A stale pointer was being reused. From David Sidrane
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 0465b7d40..e92852bdf 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -5966,4 +5966,8 @@ logic when buffers larger than the EP0 packet size are sent. Also add support for decoded USB trace strings. From David Sidrane (2013-11-5). - + * drivers/usbdev/cdcacm.c, composite.c, usbmsc.c: uninitialization + logic cause re-use of a stale pointer. Changed to a two pass + uninitialization for the case of the composite driver: Memory + resources are not freed until the second uninitialization pass. + From David Sidrane (2011-1105). |