diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-10-08 15:59:12 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-10-09 15:24:34 +0200 |
commit | 4cab124a0b1b7504e50fd02357022cdad1a61865 (patch) | |
tree | 180d71f044bd9af27c83d1b8e0f768883d9e36ef /package/postgresql/0002-fix-sparc-compile.patch | |
parent | 633f2f570a342cbb68a1b9147c7d5d68d429c2fb (diff) | |
download | buildroot-4cab124a0b1b7504e50fd02357022cdad1a61865.tar.gz buildroot-4cab124a0b1b7504e50fd02357022cdad1a61865.zip |
postgresql: security bump to version 9.4.5
Fixes:
CVE-2015-5289: json or jsonb input values constructed from arbitrary
user input can crash the PostgreSQL server and cause a denial of
service.
CVE-2015-5288: The crypt() function included with the optional pgCrypto
extension could be exploited to read a few additional bytes of memory.
No working exploit for this issue has been developed.
sparc build fix patch upstream so drop it.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/postgresql/0002-fix-sparc-compile.patch')
-rw-r--r-- | package/postgresql/0002-fix-sparc-compile.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/package/postgresql/0002-fix-sparc-compile.patch b/package/postgresql/0002-fix-sparc-compile.patch deleted file mode 100644 index 9eec23ab5f..0000000000 --- a/package/postgresql/0002-fix-sparc-compile.patch +++ /dev/null @@ -1,38 +0,0 @@ -The gcc predefines for Linux are __sparc_v8__/__sparc_v7__ - -Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> - -diff -Nur postgresql-9.4.4.orig/src/include/storage/s_lock.h postgresql-9.4.4/src/include/storage/s_lock.h ---- postgresql-9.4.4.orig/src/include/storage/s_lock.h 2015-06-09 21:29:38.000000000 +0200 -+++ postgresql-9.4.4/src/include/storage/s_lock.h 2015-08-09 19:57:06.000000000 +0200 -@@ -420,12 +420,12 @@ - : "=r"(_res), "+m"(*lock) - : "r"(lock) - : "memory"); --#if defined(__sparcv7) -+#if defined(__sparcv7) || defined(__sparc_v7__) - /* - * No stbar or membar available, luckily no actually produced hardware - * requires a barrier. - */ --#elif defined(__sparcv8) -+#elif defined(__sparcv8) || defined(__sparc_v8__) - /* stbar is available (and required for both PSO, RMO), membar isn't */ - __asm__ __volatile__ ("stbar \n":::"memory"); - #else -@@ -438,13 +438,13 @@ - return (int) _res; - } - --#if defined(__sparcv7) -+#if defined(__sparcv7) || defined(__sparc_v7__) - /* - * No stbar or membar available, luckily no actually produced hardware - * requires a barrier. - */ - #define S_UNLOCK(lock) (*((volatile slock_t *) (lock)) = 0) --#elif defined(__sparcv8) -+#elif defined(__sparcv8) || defined(__sparc_v8__) - /* stbar is available (and required for both PSO, RMO), membar isn't */ - #define S_UNLOCK(lock) \ - do \ |