android_system_core/adb
Tom Marlin 49f1857dd8 Fixed adb crash due to accessing freed memory
Reset peers to NULL after closing them down. This prevents
other code from attempting to access that freed memory
(which prevents crashes). Previously, it left pointers to
freed memory and the "if (s->peer)" guards could not block
the attempt to access that memory later. Resolves many
crashes seen while taking repeated screenshots on WinXP.

Change-Id: I32553f4d19f6ddc9b05b6ab4dc1e9efe69e5be4f
2011-06-03 11:29:17 -05:00
..
adb.c Fix adb leaking file descriptors to forked processes 2011-02-03 15:26:45 -05:00
adb.h adb connect and disconnect improvements: 2010-06-02 11:31:26 -04:00
adb_client.c Make adb's daemon-port on the host machine configurable. 2010-04-28 11:38:34 -04:00
adb_client.h Make adb's daemon-port on the host machine configurable. 2010-04-28 11:38:34 -04:00
Android.mk merge from open-source master 2010-06-02 08:14:33 -07:00
commandline.c adb: fix typo in helptext 2011-04-26 12:53:55 +02:00
console.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
fdevent.c Cleaning up whitespace in adb sources. Nothing more, nothing less. 2009-05-18 17:36:28 +02:00
fdevent.h Cleaning up whitespace in adb sources. Nothing more, nothing less. 2009-05-18 17:36:28 +02:00
file_sync_client.c adb: Don't report negative number of bytes after pushing file > 2 gigabytes 2011-02-03 15:26:35 -05:00
file_sync_service.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
file_sync_service.h adb: Improved detection of big endian architecture 2010-10-16 14:35:28 +02:00
framebuffer_service.c eclair snapshot 2009-11-12 18:46:23 -08:00
get_my_path_darwin.c eclair snapshot 2009-11-12 18:46:23 -08:00
get_my_path_freebsd.c FreeBSD support for usb-connected devices in adb 2009-10-25 01:56:35 +11:00
get_my_path_linux.c Make get_my_path() safer 2009-10-22 02:55:00 +11:00
get_my_path_windows.c Make get_my_path() safer 2009-10-22 02:55:00 +11:00
jdwp_service.c Fix adb leaking file descriptors to forked processes 2011-02-03 15:26:45 -05:00
log_service.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
MODULE_LICENSE_APACHE2 eclair snapshot 2009-11-12 18:46:23 -08:00
mutex_list.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE eclair snapshot 2009-11-12 18:46:23 -08:00
OVERVIEW.TXT Fixing spelling errors in adb docs 2010-04-28 11:38:39 -04:00
protocol.txt Cleaning up whitespace in adb sources. Nothing more, nothing less. 2009-05-18 17:36:28 +02:00
remount_service.c Fix adb remount on non-MTD devices 2010-05-24 11:27:16 -04:00
services.c Fix adb leaking file descriptors to forked processes 2011-02-03 15:26:45 -05:00
SERVICES.TXT Fixing spelling errors in adb docs 2010-04-28 11:38:39 -04:00
sockets.c Fixed adb crash due to accessing freed memory 2011-06-03 11:29:17 -05:00
sockets.dia auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sysdeps.h Fix adb leaking file descriptors to forked processes 2011-02-03 15:26:45 -05:00
sysdeps_win32.c eclair snapshot 2009-11-12 18:46:23 -08:00
test_track_devices.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
test_track_jdwp.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
transport.c adb: improve debug traces readability. 2011-02-03 15:26:37 -05:00
transport_local.c adb: Improved detection of big endian architecture 2010-10-16 14:35:28 +02:00
transport_usb.c adb: Improved detection of big endian architecture 2010-10-16 14:35:28 +02:00
usb_libusb.c FreeBSD support for usb-connected devices in adb 2009-10-25 01:56:35 +11:00
usb_linux.c adb: Increase device descriptor buffer size in Linux host USB support 2011-02-03 15:26:41 -05:00
usb_linux_client.c eclair snapshot 2009-11-12 18:46:23 -08:00
usb_osx.c eclair snapshot 2009-11-12 18:46:23 -08:00
usb_vendors.c Adding Texas Instruments to the VID list. 2011-02-03 15:26:33 -05:00
usb_vendors.h Support for 3rd party USB Vendor IDs in adb. 2009-05-22 15:25:25 -07:00
usb_windows.c eclair snapshot 2009-11-12 18:46:23 -08:00
utils.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
utils.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00