PQhost undefined behavior with both host and hostaddr types in connection string

Edit
ID 1509
Title PQhost undefined behavior with both host and hostaddr types in connection string
Topic Bug Fixes
Created 2018-02-05 11:32:31
Last modified 2018-03-27 16:36:45 (6 years, 7 months ago)
Latest email 2018-03-29 04:56:20 (6 years, 7 months ago)
Status
2018-03: Committed
Target version
Authors Haribabu Kommi (haribabu)
Reviewers Michael Paquier (michael-kun), Peter Eisentraut (petere)Become reviewer
Committer Peter Eisentraut (petere)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/1509
git checkout commitfest/cf/1509
Emails
PQHost() undefined behavior if connecting string contains both host and hostaddr types
First at 2018-01-14 03:19:26 by Haribabu Kommi <kommi.haribabu at gmail.com>
Latest at 2018-03-29 04:56:20 by Kyotaro HORIGUCHI <horiguchi.kyotaro at lab.ntt.co.jp>
Latest attachment (PQhost-to-return-active-connected-host-and-hostaddr_v7.patch) at 2018-03-27 05:47:41 from Haribabu Kommi <kommi.haribabu at gmail.com>
    Attachment (PQhost-to-return-active-connected-host-and-hostaddr_v7.patch) at 2018-03-27 05:47:41 from Haribabu Kommi <kommi.haribabu at gmail.com> (Patch: Yes)
    Attachment (PQhost-to-return-active-connected-host-and-hostaddr_v6.patch) at 2018-03-27 00:43:27 from Haribabu Kommi <kommi.haribabu at gmail.com> (Patch: Yes)
    Attachment (PQhost-to-return-active-connected-host-and-hostaddr_v5.patch) at 2018-03-26 06:49:22 from Haribabu Kommi <kommi.haribabu at gmail.com> (Patch: Yes)
    Attachment (PQhost-to-return-connected-host-and-hostaddr-details_v4.patch) at 2018-03-25 11:27:09 from Haribabu Kommi <kommi.haribabu at gmail.com> (Patch: Yes)
    Attachment (PQhost-to-return-connected-host-and-hostaddr-details_v3.patch) at 2018-03-23 14:49:28 from Haribabu Kommi <kommi.haribabu at gmail.com> (Patch: Yes)
    Attachment (fix_pqhost_to_return_hostaddr_when_no_host_specification.patch) at 2018-03-16 04:03:14 from Kyotaro HORIGUCHI <horiguchi.kyotaro at lab.ntt.co.jp> (Patch: Yes)
    Attachment (PQhost-update-to-return-proper-host-details_v2.patch) at 2018-01-14 03:19:26 from Haribabu Kommi <kommi.haribabu at gmail.com> (Patch: Yes)
History
When Who What
2018-03-27 16:36:45 Peter Eisentraut (petere) Closed in commitfest 2018-03 with status: Committed
2018-03-27 16:36:45 Peter Eisentraut (petere) Changed committer to petere
2018-03-22 03:25:20 Michael Paquier (michael-kun) Changed reviewers to Michael Paquier (michael-kun), Peter Eisentraut (petere)
2018-03-09 21:42:44 Peter Eisentraut (petere) Added petere as reviewer
2018-02-05 11:32:44 Haribabu Kommi (haribabu) Changed authors to Haribabu Kommi (haribabu)
2018-02-05 11:32:31 Haribabu Kommi (haribabu) Attached mail thread CAJrrPGdrC4JTJQ4d7PT1Bi7K8nW91XPMPQ5kJ3GWK3ts+W-35g@mail.gmail.com
2018-02-05 11:32:31 Haribabu Kommi (haribabu) Created patch record
Edit