1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
systemd/extras/cdrom_id
Martin Pitt 2b861dc927 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
2010-04-13 15:25:48 +02:00
..
.gitignore extras: ignore built and generated files 2007-11-08 00:13:40 +01:00
60-cdrom_id.rules replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
cdrom_id.c cdrom_id: Fix uninitialized buffers 2010-04-13 15:25:48 +02:00