On 02/24/2010 06:52 PM, Paul Moore wrote:
On Wednesday 24 February 2010 11:52:37 am Joshua Roys wrote:This fixes corrupted CIPSO packets when SELinux categories greater than 127 are used. The bug occured on the second (and later) loops through the while; the inner for loop through the ebitmap->maps array used the same index as the NetLabel catmap->bitmap array, even though the NetLabel bitmap is twice as long as the SELinux bitmap. Signed-off-by: Joshua Roys<joshua.roys@xxxxxxxxxxxxxxx>Ha! I came to the same conclusion and sent you a similar patch a few hours ago (should have checked my SELinux email folder first it seems). Acked-by: Paul Moore<paul.moore@xxxxxx> This should also be sent to stable - James or Josh do one of you guys want to do that?
Cool! I'm glad we came to the same solution, although next time I'll CC you directly to avoid doing duplicate work.
Thanks for your help, Josh
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature