We must know the length of the various filesystem C strings before
turning them from a byte array into a Go string, otherwise our Go
strings could contain null bytes, corrupting the label values.
Signed-off-by: David O'Rourke <david.orourke@gmail.com>
pull/1734/head
David O'Rourke5 years agocommitted byJohannes 'fish' Ziemke