commit | 5ad27225b601c066c3ea4956fe2d48e40cf142d5 | [log] [download] |
---|---|---|
author | Slava Semushin <php-coder@altlinux.ru> | Sun Jul 19 17:07:53 2009 +0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Sep 30 17:27:03 2009 +0400 |
tree | 8bfd519f95b247b0c6f9f06f67cc1769b0ffefaa | |
parent | 8f898d167ba6f10856cf9a9cbc63a8d601ce9bf0 [diff] |
src/lib/util.c(close_fds): fixed possible buffer overrun. sizeof() for array[255] of integer numbers return 255 * sizeof(int) = 1020, not 255. Found by cppcheck: [./src/lib/util.c:545]: (possible error) Buffer overrun Added in a73ffcffb43bd00764db35b66ff3450c54169efc commit (~3.5 year ago).