commit | ea34ce5d0aed001e23821d0c73f032c98bf0f8bf | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Apr 05 21:10:48 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Apr 05 21:10:48 2013 -0700 |
tree | 92407599f3bac4a7a9696fa27165e59c09b0584f | |
parent | af151a8a38c30834c3a98c2019a2fda05290f4d4 [diff] |
parse_cap(): fix possible off-by-one buffer overflow Found by coverity, CID 996844: overrun-local: Overrunning array "cap_nm" of 128 bytes at byte offset 128 using index "len" (which evaluates to 128). Signed-off-by: Kir Kolyshkin <kir@openvz.org>