Re:Debugging Your Operating System: A Lesson in Memory Alloc...
by kr7 on Friday December 09, 2016 @04:01PM
(#13141812)
Should really return (void *)0 on overflow, instead of asserting.
[ Parent
| on HN ]
Re:Debugging Your Operating System: A Lesson in Memory Alloc...
by AstralStorm on Saturday December 10, 2016 @02:40AM
(#13144594)
And a few libc implementations have this kind of stupidity in, where in Linux there is a specialised syscall for performance reasons.