]> 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)
committerRuss Allbery <rra@debian.org>
Wed, 9 Apr 2014 17:56:01 +0000 (10:56 -0700)
commit61e58102e3bc109eac280323867b9b25d1870859
tree19d77c169c80d85b713a6d7b92ebaed7c8c315ff
parentbaea8ed931df799b24719b8296f925649b315b04
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