Rivoreo Source Code Repositories
src.rivoreo.one
/
htop
/
b891b2bd669af273288f34e370fc3052db6f6bf7
/
XAlloc.c
ee6cc37
Don't assert(3) the pointer for strdup(3), the program will crashing anyways if a null pointer was passed
by WHR
· 2 years, 7 months ago
b475d50
Remove use of err(3)
by WHR
· 2 years, 7 months ago
09e241f
Security review: check results of snprintf.
by Hisham Muhammad
· 7 years ago
c0e37bc
Fix xStrdup debug build failure & allow Clang to use ((nonnull))
by Explorer09
· 8 years ago
3297616
Add assert and __attribute__((nonnull)) on xStrdup
by Explorer09
· 8 years ago
e288f69
Don't check if (!str) in xStrdup
by Explorer09
· 8 years ago
4674b4a
Stricter strdup.
by Hisham
· 8 years ago
7d3f67e
Revert 5c593fae4227651075cfc9445f17dad6ae0a0b47 (xCalloc)
by Explorer09
· 9 years ago
807640e
Shorten the code using the err() function.
by Hisham
· 9 years ago
5c593fa
Be stricter!
by Hisham
· 9 years ago
f87462d
Exit on failure!
by Hisham
· 9 years ago
b54d2dd
Check for failure in allocations.
by Hisham
· 9 years ago
a1f7f28
Add allocation tests
by Hisham
· 9 years ago