mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-25 21:24:16 +08:00
94a49c7082
Under some circumstances (such as terminating bluetoothd during music is streamed) sep object may be destroyed (memory for sep object is internally freed, directly by "a2dp_unregister_sep") after invoking "media_endpoint_clear_configuration" (in "stream_state_changed"). It leads to invalid write issue (reported by valgrind) after assignment "sep->stream = NULL", since "sep" is "alias" pointer to sep object which is already out of date (memory for sep object has been already freed) This patch prevents from this issue by ensuring that assignment "sep->stream = NULL" would be executed when sep object certainly exists. |
||
---|---|---|
attrib | ||
audio | ||
btio | ||
compat | ||
cups | ||
doc | ||
gdbus | ||
health | ||
input | ||
lib | ||
network | ||
plugins | ||
sap | ||
sbc | ||
scripts | ||
serial | ||
src | ||
test | ||
tools | ||
tracer | ||
.gitignore | ||
.mailmap | ||
acinclude.m4 | ||
AUTHORS | ||
bluez.pc.in | ||
bootstrap | ||
bootstrap-configure | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
COPYING.LIB | ||
INSTALL | ||
Makefile.am | ||
Makefile.tools | ||
NEWS | ||
README | ||
TODO |
BlueZ - Bluetooth protocol stack for Linux ****************************************** Copyright (C) 2000-2001 Qualcomm Incorporated Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com> Copyright (C) 2002-2010 Marcel Holtmann <marcel@holtmann.org> Compilation and installation ============================ In order to compile Bluetooth utilities you need following software packages: - Linux Bluetooth protocol stack (BlueZ) - GCC compiler - D-Bus library - GLib library - USB library (optional) - Lexical Analyzer (flex, lex) - YACC (yacc, bison, byacc) To configure run: ./configure --prefix=/usr --mandir=/usr/share/man \ --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib Configure automatically searches for all required components and packages. To compile and install run: make && make install Information =========== Mailing lists: linux-bluetooth@vger.kernel.org For additional information about the project visit BlueZ web site: http://www.bluez.org