diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2000-09-23 08:21:22 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2000-09-23 08:21:22 +0000 |
commit | 2700c8dfe4f9f0ef157834d92263fa130b085207 (patch) | |
tree | 6d31fa7dd988bb24a9ec9d3212ea603031c32e7b /audio/esound | |
parent | You don't want to depend on qt21 -- it's dead. Change them to USE_QT2. (diff) |
Add a patch that fixes the vulnerability.
Submitted by: ade
Notes
Notes:
svn path=/head/; revision=33034
Diffstat (limited to 'audio/esound')
-rw-r--r-- | audio/esound/files/patch-ac | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/audio/esound/files/patch-ac b/audio/esound/files/patch-ac index f493138a02a1..b26759a4683a 100644 --- a/audio/esound/files/patch-ac +++ b/audio/esound/files/patch-ac @@ -1,23 +1,22 @@ ---- esd.c.orig Tue Apr 4 11:20:08 2000 -+++ esd.c Thu Jun 29 23:34:18 2000 -@@ -219,12 +219,12 @@ +--- esd.c.orig Tue Apr 4 23:20:08 2000 ++++ esd.c Sat Sep 23 16:13:26 2000 +@@ -218,13 +218,9 @@ + if (access(ESD_UNIX_SOCKET_DIR, R_OK | W_OK) == -1) { mkdir(ESD_UNIX_SOCKET_DIR, - S_IRUSR|S_IWUSR|S_IXUSR| +- S_IRUSR|S_IWUSR|S_IXUSR| - S_IRGRP|S_IWGRP|S_IXGRP| - S_IROTH|S_IWOTH|S_IXOTH); -+ S_IRGRP|S_IXGRP| -+ S_IROTH|S_IXOTH); ++ S_IRUSR|S_IWUSR|S_IXUSR); chmod(ESD_UNIX_SOCKET_DIR, - S_IRUSR|S_IWUSR|S_IXUSR| +- S_IRUSR|S_IWUSR|S_IXUSR| - S_IRGRP|S_IWGRP|S_IXGRP| - S_IROTH|S_IWOTH|S_IXOTH); -+ S_IRGRP|S_IXGRP| -+ S_IROTH|S_IXOTH); ++ S_IRUSR|S_IWUSR|S_IXUSR); } if (access(ESD_UNIX_SOCKET_NAME, R_OK | W_OK) == -1) { -@@ -317,9 +317,9 @@ +@@ -317,9 +313,9 @@ /* let anyone access esd's socket - but we have authentication so they */ /* wont get far if they dont have the auth key */ chmod(ESD_UNIX_SOCKET_NAME, |