| commit | 1eafb0280d1275629da54c350c7d9842f7785577 | [log] [tgz] |
|---|---|---|
| author | Ben Hutchings <ben@decadent.org.uk> | Wed Sep 05 14:37:37 2012 -0700 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 07 08:32:25 2012 -0700 |
| tree | 107e662b82a4f0b6f5f910811d99bf1e4b6e70c0 | |
| parent | de5d66e635460e27d678df99f9cb97e263d3bbe7 [diff] |
tools/hv: Check for read/write errors commit 436473bc2173499ae274d0f50111d1e355006caf upstream. hv_kvp_daemon currently does not check whether fread() or fwrite() succeed. Add the necessary checks. Also, remove the incorrect use of feof() before fread(). Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>