Jan Viktorin
0cac5dbf73
ODBC: fix uninitialized variable
...
This prevents valgrind reports like:
==18426== Conditional jump or move depends on uninitialised value(s)
==18426== at 0x6423EB5: Poco::Data::StatementImpl::execute(bool const&) (in /usr/lib/libPocoDatad.so.46)
==18426== by 0x641DB5F: Poco::Data::Statement::execute(bool) (in /usr/lib/libPocoDatad.so.46)
==18426== by 0x632A0C: Poco::Data::Keywords::now(Poco::Data::Statement&) (Statement.h:443)
==18426== by 0x641C8E5: Poco::Data::Statement::operator,(void (*)(Poco::Data::Statement&)) (in /usr/lib/libPocoDatad.so.46)
...
==18426== Uninitialised value was created by a stack allocation
==18426== at 0x6A1A170: Poco::Data::ODBC::ODBCStatementImpl::affectedRowCount() const (in /usr/lib/libPocoDataODBCd.so.46)
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
2016-11-10 17:49:02 +01:00
Guenter Obiltschnig
efdeadef2a
fixed GH #990 : Potential race condition in on Windows
2016-11-03 14:49:25 +01:00
Günter Obiltschnig
c59ec564c2
Merge pull request #1476 from alexey-milovidov/develop
...
Fixed error with Poco::UTF8Encoding::isLegal (wrong result on illegal…
2016-10-29 20:12:01 +02:00
Alexey Milovidov
95590d620e
Fixed error with Poco::UTF8Encoding::isLegal (wrong result on illegal sequence "\xED\x20\xA8").
2016-10-29 20:27:28 +03:00
Guenter Obiltschnig
5df7f69b08
fixed GH #1472 : HTTP(S)StreamFactory should send a User-Agent header
2016-10-26 12:59:33 +02:00
Guenter Obiltschnig
1f3b53298c
fixed GH #1462 : AbstractConfiguration::getUInt does not parse hex numbers
2016-10-24 09:42:33 +02:00
Guenter Obiltschnig
a1657d5e1b
fixed GH #1465 : Assertion violation in DateTime.cpp using ZipArchive
2016-10-22 16:23:11 +02:00
Guenter Obiltschnig
b22501f692
another fix for GH #1458 - handle case when all sockets are invalid
2016-10-18 22:25:01 +02:00
Guenter Obiltschnig
6d373825fa
fixed GH #1458 : always pass 1 to epoll_create()
2016-10-17 18:33:41 +02:00
Guenter Obiltschnig
31df37cf22
use std::unique_ptr instead of std::auto_ptr if available
2016-10-16 14:01:05 +02:00
Guenter Obiltschnig
20a6f25865
XMLConfiguration default (and single-argument delimiter) constructor now loads an empty XML document with "config" root element to make the configuration usable without an additional call to load() or loadEmpty().
2016-10-16 13:41:32 +02:00
Guenter Obiltschnig
0662244384
fix typo in test suite
2016-10-14 12:02:32 +02:00
Guenter Obiltschnig
8293f93f7a
use std::unique_ptr instead of std::auto_ptr with C++11 or newer compilers to avoid std::auto_ptr deprecation warnings
2016-10-14 12:01:25 +02:00
Guenter Obiltschnig
6195c97a86
make port constructor explicit; no longer prefer IPv4 addresses over IPv6 addresses
2016-10-10 18:44:55 +02:00
Guenter Obiltschnig
547553278c
use #ifdef POCO_LONG_IS_64_BIT instead of if (sizeof(... to avoid warnings
2016-10-10 14:15:32 +02:00
Guenter Obiltschnig
8888d3daae
added POCO_NO_SHARED_LIBRARY_DEBUG_SUFFIX configuration macro to disable *d.so, *d.dll suffix in SharedLibrary class
2016-10-10 12:07:58 +02:00
Guenter Obiltschnig
e2bfe6f2cf
added Yocto config; updated ARM-Linux config
2016-10-07 22:10:26 +02:00
Guenter Obiltschnig
92a0f0f0aa
improved EchoServer error handling
2016-10-07 22:04:10 +02:00
Guenter Obiltschnig
835d0365d9
fixed bad disconnect handling in onSocketReadable
2016-10-07 22:03:58 +02:00
Guenter Obiltschnig
b02d8cecdb
fixed GH #1431 : Poco/FIFOBuffer.h copy issue
2016-10-07 21:27:46 +02:00
Guenter Obiltschnig
29010bc6ad
fixed GH #1403 : Android compile with poco-1.7.5 no 'pthread_condattr_setclock' error
2016-10-07 21:06:59 +02:00
Günter Obiltschnig
80fea48cdc
Merge pull request #1447 from a-w/develop
...
Fixed "integer constant is too large for 'long' type" issue
2016-10-07 20:37:11 +02:00
Adrian Weiler
e350781084
Fixed "integer constant is too large for 'long' type" issue; make constant unsigned instead of typecasting
2016-10-07 19:16:12 +02:00
Guenter Obiltschnig
a5d801cc6e
doc clarifications
2016-10-07 11:06:43 +02:00
Guenter Obiltschnig
bae5b38df0
add a load() overload to specify name pool size
2016-10-07 10:59:58 +02:00
Guenter Obiltschnig
a53464e784
add optional name pool size argument to DOMParser constructor
2016-10-07 10:53:46 +02:00
Guenter Obiltschnig
2817376436
increased default XML name pool size, added Document constructor taking name pool size as argument
2016-10-07 10:44:18 +02:00
Günter Obiltschnig
d9c3c5270a
Merge pull request #1445 from cryptoknight/ip_stable_sort
...
Use stable_sort to preserve order of IP addresses from DNS
2016-10-05 09:19:49 +02:00
Scott Davis
48862bf08e
Use stable_sort to preserve order of IP addresses from DNS
2016-10-04 14:43:01 -04:00
Guenter Obiltschnig
f86dfa8239
integrated fixes for #1416 from poco-1.7.6 branch
2016-09-29 20:10:10 +02:00
Günter Obiltschnig
a73eef0487
improvement of URIStreamOpener::open() implementation
2016-09-29 19:07:52 +02:00
Guenter Obiltschnig
e87a3a6e45
style fix
2016-09-29 17:44:34 +02:00
Günter Obiltschnig
5d8faa371e
added URISyntaxException; better error handling in URIStreamOpener
2016-09-29 17:42:49 +02:00
Guenter Obiltschnig
61e0561182
fixed GH #1429 : exception thrown in MongoDB when using replicaset
2016-09-28 12:31:48 +02:00
Guenter Obiltschnig
dd30db6ca9
fixed Klocwork issues
2016-09-26 19:29:55 +02:00
Guenter Obiltschnig
18e594e7ff
fixed issues reported by Klocwork
2016-09-26 19:22:47 +02:00
Guenter Obiltschnig
78f954f58f
fixed issues reported by Klocwork
2016-09-26 19:22:32 +02:00
Guenter Obiltschnig
b0140637d5
fix uninitialized member in ctor
2016-09-26 19:22:20 +02:00
Guenter Obiltschnig
142ad28494
initialize all members in ctor
2016-09-26 19:22:07 +02:00
Guenter Obiltschnig
9c684af478
handle unlikely situation that XML_ParserCreate() fails
2016-09-26 19:21:47 +02:00
Guenter Obiltschnig
9bd74daef9
fixed uninitialized members in ctor
2016-09-26 19:21:23 +02:00
Guenter Obiltschnig
eabae863bb
fixed uninitialized member in ctor
2016-09-26 19:21:07 +02:00
Guenter Obiltschnig
1bb795e7ed
initialize all members in default ctor
2016-09-26 19:19:27 +02:00
Guenter Obiltschnig
8935e19bbc
fixed potential memory leak in out-of-memory situations
2016-09-26 19:19:14 +02:00
Guenter Obiltschnig
34b9b1284c
fixed uninitialized _encoding member
2016-09-26 19:18:56 +02:00
Guenter Obiltschnig
5d750ac8ed
fixed issues reported by Klocwork
2016-09-26 19:18:44 +02:00
Guenter Obiltschnig
b1004587b2
code cleanup; fixed some issues reported by Klocwork
2016-09-26 19:18:28 +02:00
Guenter Obiltschnig
c943727354
style fix
2016-09-26 19:17:38 +02:00
Guenter Obiltschnig
b0026b6a1c
style fix
2016-09-26 19:17:21 +02:00
Guenter Obiltschnig
89998df17a
bugfix: _null member not initialized in ctor
2016-09-26 19:17:08 +02:00