projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6329d9
)
Avoid buffer overrun by makeKeepaliveConnectString().
author
Hiroshi Inoue
<inoue@tpf.co.jp>
Thu, 13 Nov 2014 07:43:09 +0000
(16:43 +0900)
committer
Hiroshi Inoue
<inoue@tpf.co.jp>
Thu, 13 Nov 2014 07:44:14 +0000
(16:44 +0900)
dlg_specific.c
patch
|
blob
|
blame
|
history
diff --git
a/dlg_specific.c
b/dlg_specific.c
index 0592a354600c5eef1e14aca7c628fecd43507478..07eff5a480f6eba1aeffac9adc483e8591eb53bf 100644
(file)
--- a/
dlg_specific.c
+++ b/
dlg_specific.c
@@
-264,7
+264,7
@@
makeConnectString(char *connect_string, const ConnInfo *ci, UWORD len)
{
char got_dsn = (ci->dsn[0] != '\0');
char encoded_item[LARGE_REGISTRY_LEN];
- char keepaliveStr[
32
];
+ char keepaliveStr[
64
];
#ifdef USE_LIBPQ
char preferLibpqStr[32];
#endif