mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
297d6b6e56
While reading in more than one block (50) of KVP records, the allocation goes per block, but the reads used the total number of allocated records (without resetting the pointer/stream). This causes the records buffer to overrun when the refresh reads more than one block over the previous capacity (e.g. reading more than 100 KVP records whereas the in-memory database was empty before). Fix this by reading the correct number of KVP records from file each time. Signed-off-by: Paul Meyer <Paul.Meyer@microsoft.com> Signed-off-by: Long Li <longli@microsoft.com> Cc: stable@vger.kernel.org Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
hv_fcopy_daemon.c | ||
hv_get_dhcp_info.sh | ||
hv_get_dns_info.sh | ||
hv_kvp_daemon.c | ||
hv_set_ifconfig.sh | ||
hv_vss_daemon.c | ||
lsvmbus | ||
Makefile |