Christian Borntraeger c2cf265d86 KVM: s390: prevent buffer overrun on memory hotplug during migration
We must not go beyond the pre-allocated buffer. This can happen when
a new memory slot is added during migration.

Reported-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: stable@vger.kernel.org # 4.13+
Fixes: 190df4a212a7 (KVM: s390: CMMA tracking, ESSA emulation, migration mode)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
2017-12-22 15:22:41 +01:00
..
2017-11-25 08:21:54 -10:00
2017-11-17 17:45:29 -08:00
2017-11-15 15:01:28 -08:00
2017-11-17 17:45:29 -08:00
2017-11-15 18:21:03 -08:00
2017-11-17 17:45:29 -08:00
2017-11-15 18:21:00 -08:00
2017-11-14 18:25:40 -08:00
2017-11-14 18:25:40 -08:00
2017-11-14 18:25:40 -08:00
2017-11-15 18:21:04 -08:00
2017-11-15 10:49:15 -08:00
2017-11-17 09:51:57 -08:00