]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced: fix get-statistics64 buffer overflow
authorMichael Meffie <mmeffie@sinenomine.net>
Sat, 15 Feb 2014 17:03:43 +0000 (12:03 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 2 Apr 2014 12:33:52 +0000 (14:33 +0200)
commitcde152658dcf5ee31293ed75b9a6cfaf8192f320
tree958ab75fc8da111f64dcdcf3cfacf731a8c31c85
parent19c4d6023c8f616de0d194e560e64576e5986f70
viced: fix get-statistics64 buffer overflow

Range check the statsVersion argument of the GetStatisitics64 RPC to
avoid a buffer overflow in the fileserver, or a huge memory allocation,
by a rogue client.

FIXES 131803

(cherry picked from commit bd2cc32da969abe57334d20563d5cddf065a905e)

Change-Id: I05b18b9f4bacd8981eafb9fe4b5aea904f88a9cc
src/viced/afsfileprocs.c