Skip to content

psqlodbc2 CI - Fix CI: strdup segfault on Linux, windows.h for Windows ODBC headers - Replace strdup() in test_connection_string.c with malloc+memcpy. strdup is not in C11; on Linux with strict c_std=c11 it gets an implicit declaration returning int, truncating the 64-bit pointer and causing SIGSEGV when later dereferenced. - Include <windows.h> before ODBC headers on Windows since sqltypes.h depends on DWORD and other Windows types. #3

psqlodbc2 CI - Fix CI: strdup segfault on Linux, windows.h for Windows ODBC headers - Replace strdup() in test_connection_string.c with malloc+memcpy. strdup is not in C11; on Linux with strict c_std=c11 it gets an implicit declaration returning int, truncating the 64-bit pointer and causing SIGSEGV when later dereferenced. - Include <windows.h> before ODBC headers on Windows since sqltypes.h depends on DWORD and other Windows types.

psqlodbc2 CI - Fix CI: strdup segfault on Linux, windows.h for Windows ODBC headers - Replace strdup() in test_connection_string.c with malloc+memcpy. strdup is not in C11; on Linux with strict c_std=c11 it gets an implicit declaration returning int, truncating the 64-bit pointer and causing SIGSEGV when later dereferenced. - Include <windows.h> before ODBC headers on Windows since sqltypes.h depends on DWORD and other Windows types. #3

Re-run triggered July 1, 2026 20:33
Status Failure
Total duration 3m 55s
Artifacts

ci.yml

on: push
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
Linux (Ubuntu)
Process completed with exit code 1.
Windows
Process completed with exit code 1.
Linux (Ubuntu)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Windows
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, TheMrMilchmann/setup-msvc-dev@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/