* Fix order of arguments in SQLWriteFileDSN.c, fix unwanted free() in iusql.c * Add pkg-config files - bsc#1082290 (CVE-2018-7409): Buffer overflow in unicode_to_ansi_copy() was fixed in 2.3.5 - bsc#1082484 (CVE-2018-7485): Swapped arguments in SQLWriteFileDSN() in odbcinst/SQLWriteFileDSN.c - Remove unixODBC-2.3.1-bison.patch: upstreamed - Remove unixODBC-iaddr.patch: upstreamed - Adapt unixODBC-2.3.1-declarations.patch to unixODBC-2.3.6-declarations.patch - Update unixODBC-gccwarnings.patch OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=50
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
diff -urEbwB unixODBC-2.3.6/Drivers/nn/yyevl.c unixODBC-2.3.6.new/Drivers/nn/yyevl.c
|
|
--- unixODBC-2.3.6/Drivers/nn/yyevl.c 2014-01-06 10:37:01.000000000 +0100
|
|
+++ unixODBC-2.3.6.new/Drivers/nn/yyevl.c 2018-03-19 12:36:19.380485884 +0100
|
|
@@ -18,6 +18,7 @@
|
|
#include <yylex.h>
|
|
#include <nncol.h>
|
|
#include <nndate.h>
|
|
+#include <string.h>
|
|
|
|
typedef struct {
|
|
int type; /* can only be en_nt_qstr, en_nt_num and en_nt_null */
|
|
diff -urEbwB unixODBC-2.3.6/Drivers/nn/yyparse.y unixODBC-2.3.6.new/Drivers/nn/yyparse.y
|
|
--- unixODBC-2.3.6/Drivers/nn/yyparse.y 2018-02-26 15:43:58.000000000 +0100
|
|
+++ unixODBC-2.3.6.new/Drivers/nn/yyparse.y 2018-03-19 12:36:56.752790303 +0100
|
|
@@ -25,6 +25,7 @@
|
|
#include <yylex.h>
|
|
#include <yyerr.h>
|
|
#include <nndate.h>
|
|
+#include <stdio.h>
|
|
|
|
# ifdef YYLSP_NEEDED
|
|
# undef YYLSP_NEEDED
|
|
diff -urEbwB unixODBC-2.3.6/Drivers/nn/yystmt.c unixODBC-2.3.6.new/Drivers/nn/yystmt.c
|
|
--- unixODBC-2.3.6/Drivers/nn/yystmt.c 2014-01-06 10:37:01.000000000 +0100
|
|
+++ unixODBC-2.3.6.new/Drivers/nn/yystmt.c 2018-03-19 12:37:25.593024943 +0100
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include "string.h"
|
|
|
|
static char sccsid[]
|
|
= "@(#)NNSQL(NetNews SQL) v0.5, Copyright(c) 1995, 1996 by Ke Jin";
|