[pgpool-committers: 2075] pgpool: Fix coverity issue:1111387 Explicit null dereferenced

Muhammad Usama m.usama at gmail.com
Tue Jul 15 22:08:52 JST 2014


Fix coverity issue:1111387 Explicit null dereferenced
Fix coverity issue:1111388 Explicit null dereferenced
Fix coverity issue:1111411 Missing break in switch
Fix coverity issue:1111412 Missing break in switch
Fix coverity issue:1111450 Resource leak
Fix coverity issue:1111451 Resource leak
Fix coverity issue:1111472 Dereference before null check
Fix coverity issue:1111473 Dereference before null check
Fix coverity issue:1111474 Dereference before null check
Fix coverity issue:1111475 Wrong sizeof argument
Fix coverity issue:1111495 Use after free
Fix coverity issue:1111496 Use after free
Fix coverity issue:1222989 Bad bit shift operation
Fix coverity issue:1222990 Bad bit shift operation
Fix coverity issue:1222994 Explicit null dereferenced
Fix coverity issue:1222995 Printf format string issue

The commit also contains a tiny fix for compiler warning of missing prototype
for ExceptionalCondition() function.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=1130920fbcfc1a904efe2391ea998ff3c7d16e16

Modified Files
--------------
src/include/pool_type.h                    |    6 +++++-
src/parallel_query/pool_rewrite_outfuncs.c |   10 +++++-----
src/parser/outfuncs.c                      |    1 +
src/parser/pool_string.c                   |   12 +++---------
src/protocol/pool_connection_pool.c        |    2 +-
src/protocol/pool_process_query.c          |    6 +++---
src/protocol/pool_proto2.c                 |   21 ++++++++++++++++-----
src/protocol/pool_proto_modules.c          |    6 ++++--
src/rewrite/pool_timestamp.c               |   12 ++++--------
src/utils/error/elog.c                     |    5 ++---
src/utils/pool_relcache.c                  |    6 ++++--
11 files changed, 48 insertions(+), 39 deletions(-)



More information about the pgpool-committers mailing list