← Back to team overview

kicad-developers team mailing list archive

Re: Pushback on bug 1838448


Hiding memory access errors is a terrible idea from both a security and
software reliability perspective. IMO we should be moving in the
opposite direction and adding -fsanitize=address to debug builds.

On 8/2/19 8:25 AM, Steven A. Falco wrote:
> I asked on the Fedora development list about removing the "-Wp,-D_GLIBCXX_ASSERTIONS" flag as requested in https://bugs.launchpad.net/kicad/+bug/1838448, and I got some pushback (attached) stating that it is not a good idea to hide crashes caused by out-of-bounds memory accesses.
> I agree with that, and I made a similar argument in comment #22 of the bug.
> Therefore I'd like to have more discussion about this.  Are we really sure we want to hide memory access errors?  In some cases they could cause hard-to-find corruption bugs, as well as hard crashes.  Personally, I'd rather know there is a problem.
> 	Steve
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp