diff options
author | drochner <drochner@pkgsrc.org> | 2001-04-20 18:27:09 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2001-04-20 18:27:09 +0000 |
commit | 07e617a9dc73acb43516d3eefe2c03270caf14d2 (patch) | |
tree | ce5b5c488819f202307fd5accebf808fd93be5fe /audio | |
parent | 1acbced92dee55c4a6427ea26c20368161f0e2c8 (diff) | |
download | pkgsrc-07e617a9dc73acb43516d3eefe2c03270caf14d2.tar.gz |
fix uninitialized struct member passed to ioctl()
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libcdaudio/distinfo | 3 | ||||
-rw-r--r-- | audio/libcdaudio/patches/patch-aa | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/libcdaudio/distinfo b/audio/libcdaudio/distinfo index 64862869575..9edc96459f7 100644 --- a/audio/libcdaudio/distinfo +++ b/audio/libcdaudio/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/18 12:14:32 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/04/20 18:27:09 drochner Exp $ SHA1 (libcdaudio-0.99.4.tar.gz) = 00ee00d4e6dcff71b28be377b972c91f0277e273 Size (libcdaudio-0.99.4.tar.gz) = 161900 bytes +SHA1 (patch-aa) = 8fc1566adb9a2eb8e60372f59c38805903760f22 diff --git a/audio/libcdaudio/patches/patch-aa b/audio/libcdaudio/patches/patch-aa new file mode 100644 index 00000000000..b74f7e5d893 --- /dev/null +++ b/audio/libcdaudio/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.3 2001/04/20 18:27:10 drochner Exp $ + +--- source/cdaudio.c.orig Fri Apr 20 20:20:23 2001 ++++ source/cdaudio.c Fri Apr 20 20:20:27 2001 +@@ -304,6 +304,7 @@ + struct CDAUDIO_SUBCHANNEL_DATA cdsc_data; + #endif + ++ memset(&cdsc, '\0', sizeof(cdsc)); + + #ifdef CDAUDIO_SUBCHANNEL_DATA + memset(&cdsc_data, '\0', sizeof(cdsc_data)); |