[Libreoffice-commits] -Werror=format-security
Stephan Bergmann
sbergman at redhat.com
Tue Aug 7 09:21:36 PDT 2012
On 08/07/2012 03:16 PM, Michael Meeks wrote:
> In my experience writing to stderr is synchronous; ie.
>
> fprintf (stderr, "crash\n");
> *((int *)NULL) = 42;
>
> will do what you want; unless SAL_DEBUG guarantees that too it's too
> dangerous to be useful for me :-)
SAL_DEBUG boils down to std::fputs(..., stderr) in sal/osl/all/log.cxx.
Stephan
More information about the LibreOffice
mailing list