Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 162042 Details for
Bug 253825
Qt application with unixODBC terminates with message *** buffer overflow detected ***
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch that works for me
unixODBC-2.2.12-saved_locale.patch (text/plain), 1.51 KB, created by
jcmvbkbc
on 2007-08-22 09:59:13 UTC
(
hide
)
Description:
patch that works for me
Filename:
MIME Type:
Creator:
jcmvbkbc
Created:
2007-08-22 09:59:13 UTC
Size:
1.51 KB
patch
obsolete
>diff -ruN unixODBC-2.2.12/Drivers/Postgre7.1/convert.c unixODBC-2.2.12.mod/Drivers/Postgre7.1/convert.c >--- unixODBC-2.2.12/Drivers/Postgre7.1/convert.c 2005-09-26 16:44:01.000000000 +0400 >+++ unixODBC-2.2.12.mod/Drivers/Postgre7.1/convert.c 2007-08-22 13:42:45.000000000 +0400 >@@ -201,7 +201,7 @@ > /* char tempBuf[TEXT_FIELD_SIZE+5]; */ > char *tempBuf; > #ifdef HAVE_LOCALE_H >- char saved_locale[256]; >+ char saved_locale[4096]; > #endif > #ifdef HAVE_LOCALTIME_R > struct tm tp; >@@ -754,7 +754,7 @@ > { > static char* const func="copy_statement_with_parameters"; > unsigned int opos, npos, oldstmtlen; >-char param_string[1024], tmp[256]; >+char param_string[1024], tmp[4096]; > char * cbuf; /* [TEXT_FIELD_SIZE+5]; */ > int param_number; > Int2 param_ctype, param_sqltype; >diff -ruN unixODBC-2.2.12/Drivers/PostgreSQL/convert.c unixODBC-2.2.12.mod/Drivers/PostgreSQL/convert.c >--- unixODBC-2.2.12/Drivers/PostgreSQL/convert.c 2005-09-12 13:02:09.000000000 +0400 >+++ unixODBC-2.2.12.mod/Drivers/PostgreSQL/convert.c 2007-08-22 13:43:45.000000000 +0400 >@@ -161,7 +161,7 @@ > struct tm tp; > #endif > #ifdef HAVE_LOCALE_H >-char saved_locale[256]; >+char saved_locale[4096]; > #endif > > /* rgbValueOffset is *ONLY* for character and binary data */ >@@ -659,7 +659,7 @@ > { > static char *func="copy_statement_with_parameters"; > unsigned int opos, npos; >-char param_string[128], tmp[256], cbuf[TEXT_FIELD_SIZE+5]; >+char param_string[128], tmp[4096], cbuf[TEXT_FIELD_SIZE+5]; > int param_number; > Int2 param_ctype, param_sqltype; > char *old_statement = stmt->statement;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 253825
: 162042