fix wrong format specifier for vdev_id
vdev_id that has
uint64_t type with
%u format specifier.
That causes subsequent parameters to be incorrectly read from the stack (with a 4 byte skew) and that can lead to a crash when a wrong value gets interpreted as a string pointer (for
%s format specifier).
Observed on FreeBSD, not confirmed on illumos yet.
Updated by Electric Monk over 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit c7a7b2fa084facd68c3d1e860dfabe20c713877b Author: Andriy Gapon <avg@FreeBSD.org> Date: 2018-06-01T16:22:51.000Z 9479 fix wrong format specifier for vdev_id Reviewed by: Matt Ahrens <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>