postgresql/src/backend/tsearch
Stephen Frost 5592ebac55 Another round of Coverity fixes
Additional non-security issues/improvements spotted by Coverity.

In backend/libpq, no sense trying to protect against port->hba being
NULL after we've already dereferenced it in the switch() statement.

Prevent against possible overflow due to 32bit arithmitic in
basebackup throttling (not yet released, so no security concern).

Remove nonsensical check of array pointer against NULL in procarray.c,
looks to be a holdover from 9.1 and earlier when there were pointers
being used but now it's just an array.

Remove pointer check-against-NULL in tsearch/spell.c as we had already
dereferenced it above (in the strcmp()).

Remove dead code from adt/orderedsetaggs.c, isnull is checked
immediately after each tuplesort_getdatum() call and if true we return,
so no point checking it again down at the bottom.

Remove recently added minor error-condition memory leak in pg_regress.
2014-03-03 03:18:51 -05:00
..
dict_ispell.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
dict_simple.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
dict_synonym.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
dict_thesaurus.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
dict.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
hunspell_sample.affix
ispell_sample.affix
ispell_sample.dict
Makefile Update copyright for 2014 2014-01-07 16:05:30 -05:00
regis.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
spell.c Another round of Coverity fixes 2014-03-03 03:18:51 -05:00
synonym_sample.syn
thesaurus_sample.ths Remove extra newlines at end and beginning of files, add missing newlines 2010-08-19 05:57:36 +00:00
to_tsany.c Use memmove() instead of memcpy() for copying overlapping regions. 2014-02-10 09:57:59 +02:00
ts_locale.c Prefer pg_any_to_server/pg_server_to_any over pg_do_encoding_conversion. 2014-02-23 16:59:05 -05:00
ts_parse.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
ts_selfuncs.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
ts_typanalyze.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
ts_utils.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
wparser_def.c Fix some wide-character bugs in the text-search parser. 2014-02-01 18:27:34 -05:00
wparser.c Update copyright for 2014 2014-01-07 16:05:30 -05:00