The following commit has been merged in the master branch:
commit 50a3eb7b7ee94bffaadc98429bd404164e89ec7f
Author: Michael Meffie <[email protected]>
Date:   Mon Nov 6 17:37:46 2017 -0500

    tests: fix out of bounds access in the rx-event test
    
    Use the NUMEVENTS symbol which defines the array size instead of an
    incorrect hard coded number when checking if a second event can be added
    to be fired at the same time.  This fixes a potential out of bounds
    access of the event test array.
    
    Also update the comment which incorrectly mentions the incorrect number
    of events in the test.
    
    Change-Id: I4f993b42e53e7e6a42fa31302fd1baa70e9f5041
    Reviewed-on: https://gerrit.openafs.org/12762
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: BuildBot <[email protected]>

 tests/rx/event-t.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to