summaryrefslogtreecommitdiff
path: root/rules/rules.d/80-drivers.rules
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-04-13 10:49:24 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-04-13 10:49:24 +0200
commit816e6bf0fb0849d03696a4b4ec2334e35e819425 (patch)
tree7b0d6e5b1b8009493df49f918e43411ed50fe3c2 /rules/rules.d/80-drivers.rules
parent1f084fe5811ce251d516a8022f8c7c27d0ef1f53 (diff)
cdrom_id: Fix uninitialized variables
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. Bug-Ubuntu: https://launchpad.net/bugs/559723
Diffstat (limited to 'rules/rules.d/80-drivers.rules')
0 files changed, 0 insertions, 0 deletions