projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1962790
)
use unsigned word for lengths to avoid overflow
author
Dave Cramer
<davecramer@gmail.com>
Tue, 27 Feb 2024 14:20:27 +0000
(09:20 -0500)
committer
Dave Cramer
<davecramer@gmail.com>
Tue, 27 Feb 2024 14:20:27 +0000
(09:20 -0500)
environ.c
patch
|
blob
|
blame
|
history
diff --git
a/environ.c
b/environ.c
index b3e13fd6a7d326038a51189caab7ea7d2b47922f..2216a3163681a7033f7a7ae9cd70da196ffe0a20 100644
(file)
--- a/
environ.c
+++ b/
environ.c
@@
-193,7
+193,7
@@
ER_ReturnError(PG_ErrorInfo *pgerror,
PG_ErrorInfo *error;
BOOL partial_ok = ((flag & PODBC_ALLOW_PARTIAL_EXTRACT) != 0);
const char *msg;
-
S
WORD msglen, stapos, wrtlen, pcblen;
+
U
WORD msglen, stapos, wrtlen, pcblen;
if (!pgerror)
return SQL_NO_DATA_FOUND;