-
-
Replying to @johnregehr
@johnregehr@i0n1c to be fair, anyone using gcc instead of clang has decided they don't expect security ;)1 reply 0 retweets 5 likes -
Replying to @thegrugq
@thegrugq@johnregehr@i0n1c You are aware that this particular optimization is performed equally by clang and gcc? https://goo.gl/4eCTes1 reply 1 retweet 2 likes -
Replying to @ch3root
@ch3root@thegrugq@johnregehr@i0n1c When could that comparison possibly be useful anyway?1 reply 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker Well that little dance that musl does to set f.rend in src/stdlib/strtol.c is only a different kind of UB.2 replies 0 retweets 0 likes -
Replying to @volatile_void
@spun_off Yes, it should be done with uintptr_t, but really index/count, not pos/end, should be used.
2 replies 0 retweets 1 like -
Replying to @RichFelker
@RichFelker Having discussed the above I don't suppose it interests you that musl also does this? https://goo.gl/GW7kn92 replies 0 retweets 0 likes -
Replying to @volatile_void
@spun_off musl compares null and non-null ptrs with <? Where?
1 reply 0 retweets 0 likes -
Replying to @RichFelker
@RichFelker Here—line 6: http://git.musl-libc.org/cgit/musl/tree/src/stdio/__toread.c#n6 … as reached from wcstoll().2 replies 0 retweets 0 likes
@spun_off Oh yes, comparing to ->buf is a bad idea. I'll fix it.
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.