pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add missing help output for \ef option.
2+ messages / 2 participants
[nested] [flat]

* pgsql: Add missing help output for \ef option.
@ 2009-04-03 23:38 Tom Lane <tgl@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: tgl@postgresql.org @ 2009-04-03 23:38 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Add missing help output for \ef option.  Andrew Gierth

Modified Files:
--------------
    pgsql/src/bin/psql:
        help.c (r1.144 -> r1.145)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/help.c?r1=1.144&r2=1.145)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix convert_case(), introduced in 5c40364dd6.
@ 2024-03-24 23:40 Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Davis @ 2024-03-24 23:40 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix convert_case(), introduced in 5c40364dd6.

Check source length before checking for NUL terminator to avoid
reading one byte past the string end. Also fix unreachable bug when
caller does not expect NUL-terminated result.

Add unit test coverage of convert_case() in case_test.c, which makes
it easier to reproduce the valgrind failure.

Discussion: https://postgr.es/m/7a9fd36d-7a38-4dc2-e676-fc939491a95a@gmail.com
Reported-by: Alexander Lakhin

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/503c0ad976f5e4ada2d1b47ae05aa7133351b645

Modified Files
--------------
src/common/unicode/case_test.c | 101 +++++++++++++++++++++++++++++++++++++++--
src/common/unicode_case.c      |   6 +--
2 files changed, 101 insertions(+), 6 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-03-24 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-04-03 23:38 pgsql: Add missing help output for \ef option. Tom Lane <tgl@postgresql.org>
2024-03-24 23:40 pgsql: Fix convert_case(), introduced in 5c40364dd6. Jeff Davis <jdavis@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox