Hi Cody, On Tue, Mar 8, 2016 at 6:00 PM, Cody P Schafer <dev@xxxxxxxxxx> wrote: > AddressSanitizer is part of newer gcc & clang versions. > > All I did was build bluez with: > > make CFLAGS=-fsanitize=address\ -fsanitize=undefined\ -ggdb3\ -Wall\ > -Wextra\ -Wno-unused-parameter\ -Wno-missing-field-initializers\ > -Werror LDFLAGS=-pthread -j10 > > The LDFLAGS bit is to work around a bug in binutils, and the warnings > could be omitted if desired. Debug info is needed for address > sanitizer to give line numbers. Alright, we will probably need to add those flags (perhaps with --enable-sanitize) to the build so make check would catch this type of errors. -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html