Tools: hv: Fix a bug in the key delete code
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 10 Aug 2018 23:06:07 +0000 (23:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2018 07:31:00 +0000 (09:31 +0200)
commit86503bd35dec0ce363e9fdbf5299927422ed3899
tree98ec4bba51d18c3f4fd6558d2f6045c2f70bac49
parentc55e9318871cd06e4aa10f5023cc2dcdfbb08577
Tools: hv: Fix a bug in the key delete code

Fix a bug in the key delete code - the num_records range
from 0 to num_records-1.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reported-by: David Binderman <dcb314@hotmail.com>
Cc: <stable@vger.kernel.org>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_kvp_daemon.c