The following commit has been merged in the openafs-stable-1_6_x branch:
commit c2005f1ff0052c3a77c39349551441962c100278
Author: Russ Allbery <[email protected]>
Date: Sat Jun 29 14:27:55 2013 -0700
Fix restorevol crash on corrupt nDumpTimes value
If the number of dump times claimed in the volume header was greater
than MAXDUMPTIMES, restorevol would happily write over random stack
memory and crash. Sanity-check the loaded value and cap it to
MAXDUMPTIMES with a warning.
Bug found by Mayhem and reported by Alexandre Rebert.
Reviewed-on: http://gerrit.openafs.org/10025
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
(cherry picked from commit d5fb2c2bdccedbd539cb2629cf918d5f37b82c7b)
Change-Id: I0b4718afd3c3330581ce5da875f9f8a83fe6b132
Reviewed-on: http://gerrit.openafs.org/11553
Tested-by: BuildBot <[email protected]>
Reviewed-by: Daria Phoebe Brashear <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/volser/restorevol.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs