The following commit has been merged in the openafs-stable-1_6_x branch:
commit cb63e52e63803a10f0bbc675f611645617a9e7f5
Author: Jeffrey Hutzelman <[email protected]>
Date: Tue Jun 18 23:12:46 2013 -0400
viced/callback.c: Don't ignore dump read errors
When reading a callback state dump, check the return values from
read(2) instead of ignoring them. This adds a new static function,
ReadBytes(), which handles reading a requested number of bytes from a
file and bailing if there is an error.
Reviewed-on: http://gerrit.openafs.org/9989
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
(cherry picked from commit c854cb31ff2b1ab79de18b5ab926bf2ea2b05663)
Change-Id: Ieffa11c6049eceb23bc6bf9169454529df3ef766
Reviewed-on: https://gerrit.openafs.org/13505
Tested-by: BuildBot <[email protected]>
Reviewed-by: Cheyenne Wills <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/viced/callback.c | 41 +++++++++++++++++++++++++++++------------
1 files changed, 29 insertions(+), 12 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs