19 ms·
Right. Microsoft does it wrong. But neither ISP nor POSIX require _FORTIFY_SOURCE neither which uses the same object_size (bos) CHECKS. The alloc_size builtin
by rurban 8y ago
Right. Microsoft does it wrong.
But neither ISP nor POSIX require _FORTIFY_SOURCE neither which uses the same object_size (bos) CHECKS. The alloc_size builtin or the CPU supported bounds checks are not used at all with the major libc's.
Problem is not the Annex K, but the refusal to implement and use it. There's no problem with state as in errno or locale. The criticism is easily debunkable. It's outright NIH bias.
- pjmlp 8y agoWhat I would like to see would be tagged memory like the SPARC has, which was put to good effect on Solaris, to become common across all major platforms. Apparently at least Android might adopt it on ARM. And do concede, maybe the extensions you have used, to actually become part of Annex K as well instead of deprecating it. Because despite my dislike for C, I am fully aware that UNIX derived platforms will stay with us for the years to come, so we need to improve the current state of affairs somehow.