openafs/tests/rx
Michael Meffie 50a3eb7b7e 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 <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
2017-11-22 20:50:47 -05:00
..
.gitignore Update .gitignore files 2012-04-18 20:26:54 -07:00
event-t.c tests: fix out of bounds access in the rx-event test 2017-11-22 20:50:47 -05:00
Makefile.in Clean up our cleaning 2014-11-28 18:04:15 -05:00
perf-t tests: posix signal constants in rx/perf test 2013-05-01 07:18:19 -07:00