Files
systemd/src
Alexander Kuleshov dbacacaaea alloc-util: cleanups
This patch contains a set of little cleanups for alloc-util.h:

1. The malloc_multiply(), realloc_multiply() and memdup_multiply()
functions check allocation related parameters on overflow. Let's
move them to the separate size_multiply_overflow() function for
simplicity, code duplication prevention and possible reuse in future.

2. use SIZE_MAX from stdlib instead of ((size_t) - 1) to be more
clear.

3. The 'a'/'b' variables are renamed to 'size' and 'need' to be
more clear.'
2016-02-19 01:36:46 +06:00
..
2016-02-19 01:36:46 +06:00
2016-02-11 16:25:54 +01:00
2016-02-13 12:03:16 +01:00
2016-02-12 19:10:01 +01:00
2016-02-11 21:52:02 -05:00
…