Skip to content
Commit a75dc46e authored by Fabiano Fidêncio's avatar Fabiano Fidêncio
Browse files

media: Remove ISO header strings' padding



The strings in the ISO header ("volume-id", "system-id", "publisher-id"
and "application-id") have a predefined size and are padded with spaces,
but nothing in on_{pvd,svd}_read() removes these padding spaces from
those strings, which makes osinfo_media_get_volume_id() always return
[SOME-ISO-LABEL                  ] rather than the expected
[SOME-ISO-LABEL].

Resolves: rhbz#1408271

Signed-off-by: Fabiano Fidêncio's avatarFabiano Fidêncio <fabiano@fidencio.org>
Reported-by: default avatarAllan Day <aday@redhat.com>
Acked-by: default avatarChristophe Fergeau <cfergeau@redhat.com>
parent f2dc9588
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment