diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-06-02 19:58:25 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-06-02 19:58:25 +0800 |
commit | e8bf40e496dbf74e2ee91a95bf04886ad32a23f4 (patch) | |
tree | 26558e38dafffdf2318eb68bd26e54a98fb1d67a /x11/gdm/files/patch-common_gdm-common.c | |
parent | 6c90da75235f2adc2c2cf2c590fb85459cdde03a (diff) | |
download | marcuscom-ports-e8bf40e496dbf74e2ee91a95bf04886ad32a23f4.tar.gz marcuscom-ports-e8bf40e496dbf74e2ee91a95bf04886ad32a23f4.tar.zst marcuscom-ports-e8bf40e496dbf74e2ee91a95bf04886ad32a23f4.zip |
Backport fix for CVE-2011-1709 from the 2.32.2 release.
As I understand it this only happens with GLib 2.28.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16019 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/files/patch-common_gdm-common.c')
-rw-r--r-- | x11/gdm/files/patch-common_gdm-common.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/gdm/files/patch-common_gdm-common.c b/x11/gdm/files/patch-common_gdm-common.c new file mode 100644 index 000000000..9fa4acafa --- /dev/null +++ b/x11/gdm/files/patch-common_gdm-common.c @@ -0,0 +1,13 @@ +--- common/gdm-common.c.orig 2007-12-23 10:29:20.000000000 +0100 ++++ common/gdm-common.c 2007-12-23 10:29:34.000000000 +0100 +@@ -33,6 +33,10 @@ + + #include "gdm-common.h" + ++#ifndef ENODATA ++#define ENODATA EAGAIN ++#endif ++ + void + gdm_set_fatal_warnings_if_unstable (void) + { |