commit | 7862fc4534a8bfd2dc52ded63df7c5ccb95af05f | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Oct 23 21:46:53 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Oct 23 21:48:56 2012 +0400 |
tree | ac8c48f3589bc45c8ec7876d348cc0f35dedef20 | |
parent | dd378c0f9de64bbf568aa0de2732766aafcc799f [diff] |
getlockpid(): fix potential buffer overflow read() can read and return up to sizeof(buf) bytes, and then buf[sizeof(buf)] is out of bounds. Can't happen in reality, but who knows. Signed-off-by: Kir Kolyshkin <kir@openvz.org>