cvs commit: src/sys/security/mac_bsdextended mac_bsdextended.c

From: Christian S.J. Peron <csjp_at_FreeBSD.org>
Date: Sun, 15 Jan 2006 01:02:20 +0000 (UTC)
csjp        2006-01-15 01:02:20 UTC

  FreeBSD src repository

  Modified files:
    sys/security/mac_bsdextended mac_bsdextended.c 
  Log:
  Fix potential overrun of static stack allocated array which stores
  the rules. If an array is N elements large, we can only access
  elements 0..(N-1).
  
  MFC after:      1 week
  Found with:     Coverity Prevent(tm)
  
  Revision  Changes    Path
  1.27      +1 -1      src/sys/security/mac_bsdextended/mac_bsdextended.c
Received on Sun Jan 15 2006 - 01:02:20 UTC