14 sty 2015 13:54 "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> napisał(a): > > Am 14.01.2015 um 13:46 schrieb pulkomandy@xxxxxxxxxxxxx: > >> + if (handle == NULL) >> + free(text); > > > Same issue here, text may be NULL. And C standard is happy with that. Only strdup() is problematic. > However, unless we now explicitly forbid this (in this case, we would need to fix our whole codebase), we must prevent GCC to use its builtins, or change them to follow our own semantics. > > Bye, > Axel. >