]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Solaris: setpag should verify that ngroups will not overflow
authorMark Vitale <mvitale@sinenomine.net>
Wed, 8 Jul 2015 18:28:50 +0000 (14:28 -0400)
committerDaria Brashear <shadow@your-file-system.com>
Thu, 30 Jul 2015 04:00:12 +0000 (00:00 -0400)
commit5ec99156b08d13adbb4f74248c8743c81cc79295
treefa71360e8003423798b5640711d32cbf003a61a4
parent06a5b0bd91f3ec6efad8b21831b4d1ec1a0f5003
Solaris: setpag should verify that ngroups will not overflow

Our ngroups management (since PAGs are still encoded as 2 groups) needs
to ensure that we do not overflow what we are prepared to handle,
and do not panic due to misheld mutexes if we have to return an error
when handling it.

FIXES 131878 (CVE-2015-3286)

(cherry-picked from commit 8ce4a3905268385d3f5a0e11f20594875467cae6)

Change-Id: I34a298ab776f69d52c8f621f79aafc79199f9cc4
src/afs/SOLARIS/osi_groups.c