Hi, On Mon, Mar 26, 2018 at 10:07:41AM +0200, Alexander Dahl wrote: > Am Montag, 26. März 2018, 10:04:03 CEST schrieb Roland Hieber: > > On 26.03.2018 08:21, Alexander Dahl wrote: > > > Disable option for compilation with Address Sanitizer. > > > > Hmm, why did you disable it? Seems a rather useful feature to me to have > > by default :) > > Two reasons: > > * IIRC tools compiled with asan just terminate (and print why) if Address > Sanitizer detects something. This may not be what you want in production on > target. > > * Other packages also disable that. See mariadb and krb5.
That's because asan has a pretty big overhead. It's a debugging tool not a hardening feature. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list [email protected]
