summaryrefslogtreecommitdiff
path: root/udev/udevadm-test.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-04-13 15:25:48 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-04-13 15:25:48 +0200
commit2b861dc92757b9a3214c2b8e9d8b1c3f3c162391 (patch)
tree4b640034523c51158cccbd26d68b1aa2004a8d31 /udev/udevadm-test.c
parenta89d342dfb45b54e29381af9dbc495bbb2b057af (diff)
cdrom_id: Fix uninitialized buffers
Commit 5c6954f is actually a no-op, since static variables are already zero'ed by default anyway (but we keep it for clarity). The real difference was that a build with -O0 wor while a build with -O2 didn't. Turns out that some ioctls do not actually touch the result buffer in some cases, so we need to zero the result buffers to avoid interpreting random da as CD properties. https://launchpad.net/bugs/559723 https://launchpad.net/bugs/561585
Diffstat (limited to 'udev/udevadm-test.c')
0 files changed, 0 insertions, 0 deletions