#systemd WONTFIX'd a bug in their usage of asprintf: https://bugs.freedesktop.org/show_bug.cgi?id=90017 …
-
-
Replying to @ewontfix
@ewontfix@RichFelker You'd think they'd just set it to NULL in the failure case...1 reply 0 retweets 0 likes -
Replying to @stevecheckoway
@stevecheckoway In the caller? Yes, that would be the right thing to do. As for asprintf it's documented to be undefined, and impls. differ.2 replies 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker@stevecheckoway do they really? I'm really only aware of the glibc version + a couple basically-copies of that. It's not POSIX.1 reply 0 retweets 0 likes -
Replying to @bofh453
@bofh453@stevecheckoway I didn't check but I was told one of the BSDs always zeros the result on failure.2 replies 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker@bofh453 OpenBSD's does but they document that it's an OpenBSD-specific thing and should not be relied upon.1 reply 0 retweets 0 likes
@stevecheckoway @bofh453 In that case you can't rely on the pointer being unmodified if your code might be running on OpenBSD.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.