diff options
author | Paul Moore <paul.moore@hp.com> | 2007-01-05 21:08:22 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-01-09 09:30:01 +0100 |
commit | 2a2f11c227bdf292b3a2900ad04139d301b56ac4 (patch) | |
tree | e94ced56b21fa9258dc6d8c9d8b1e1a3f6e190a1 /drivers/net/bnx2.c | |
parent | NetLabel: correct locking in selinux_netlbl_socket_setsid() (diff) | |
download | linux-2a2f11c227bdf292b3a2900ad04139d301b56ac4.tar.xz linux-2a2f11c227bdf292b3a2900ad04139d301b56ac4.zip |
NetLabel: correct CIPSO tag handling when adding new DOI definitions
The current netlbl_cipsov4_add_common() function has two problems which are
fixed with this patch. The first is an off-by-one bug where it is possibile to
overflow the doi_def->tags[] array. The second is a bug where the same
doi_def->tags[] array was not always fully initialized, which caused sporadic
failures.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/net/bnx2.c')
0 files changed, 0 insertions, 0 deletions