@CopperheadSec @ch3root It's still wrong. printf 2 equal-as-uintptr_t ptrs. User types one back in. Which object is it allowed to access?
-
-
@RichFelker@ch3root Yeah, look at the description in https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes …. The glibc usage on strdup appears to be completely wrong. -
@CopperheadSec@ch3root Is there an open bug report for this? -
@RichFelker@CopperheadSec A bug report where? gcc folks say that such things are done according with DR 260. -
@RichFelker@CopperheadSec And I don't see anything else except DR 260 that will prohibit my original example. -
@RichFelker@CopperheadSec So, the options right now as I see it: accept DR 260 (i.e. black magic) as valid or accept my example as valid.
End of conversation
New conversation -
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.