From: Paul Moore Date: Fri, 5 Jan 2007 20:08:22 +0000 (-0500) Subject: NetLabel: correct CIPSO tag handling when adding new DOI definitions X-Git-Tag: v2.6.20-rc5~33^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a2f11c227bdf292b3a2900ad04139d301b56ac4;p=pandora-kernel.git 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 Signed-off-by: James Morris --- Reading git-diff-tree failed