Rivoreo Source Code Repositories
src.rivoreo.one
/
htop
/
6bc94e27f536a4be4a62677d3daa629f80ecd5f6
/
XAlloc.c
3623528
Remove unused or duplicated includes
by WHR
· 2 years, 6 months ago
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