-
Committer:
Bazaar Package Importer
-
Author(s):
Martin Pitt
-
Date:
2010-04-13 10:56:38 UTC
-
Revision ID:
james.westby@ubuntu.com-20100413105638-nzqr9ugaxrvr4a6a
Tags: 151-9
cdrom_id: In cases where cdrom_id does not go through the entire code path
and one of the probing functions returns -1 or exits early, the remaining
variables were never initialized. This caused effects like "phantom" audio
CDs on empty drives, or bogus data like ID_CDROM_MEDIA_TRACK_COUNT=22528.
Initialize the variables right away to avoid that. (LP: #559723) Patch
committed to upstream git as well (816e6bf).