summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/unixodbc/files
Commit message (Collapse)AuthorAgeFilesLines
* unixodbc: Fix CVE-2024-1013Soumya Sambu2024-06-071-0/+53
| | | | | | | | | | | | | An out-of-bounds stack write flaw was found in unixODBC on 64-bit architectures where the caller has 4 bytes and callee writes 8 bytes. This issue may go unnoticed on little-endian architectures, while big-endian architectures can be broken. References: https://nvd.nist.gov/vuln/detail/CVE-2024-1013 Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* unixodbc: fix odbc.pc file generationChen Qi2024-02-211-0/+54
| | | | | | | | | | | | | | | | | | | | | | | The build process currently succeeds but the odbc.pc file is not correctly generated. The error message is like below in log.do_compile and log.do_install: /bin/bash: line 1: ../exe/odbc_config: cannot execute binary file: Exec format error I can see the message comes from the following line in exe/Makefile.am: @sed "s![@]ODBC_ULEN[@]!`$(top_builddir)/exe/odbc_config$(EXEEXT) --ulen`!" \ $(top_builddir)/DriverManager/odbc.pc > $(top_builddir)/exe/odbc.pc.tmp It's running the exe/odbc_config program we built out. But the binary is for the target platform and if we run it on the build host, we get that error message. The resulting ulen and build_cflags in the final odbc.pc file are also empty. Fix the issue by using qemu usermode to launch the target binary. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* unixodbc: update to 2.3.6Jackie Huang2018-04-081-6/+6
| | | | | | | | | | | | Release notes from http://www.unixodbc.org/: * Single bug fix that was a possible security issue so I have pushed a version out. - Fix order of arguments in SQLWriteFileDSN.c, fix unwanted free() in iusql.c - Add pkg-config files Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* unixodbc: Add the new recipeJackie Huang2016-07-291-0/+43
unixODBC is an Open Source ODBC sub-system and an ODBC SDK for Linux, Mac OSX, and UNIX. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>