diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-08-17 10:37:59 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-08-17 10:38:07 -0400 |
commit | 9bed827b18cc4f27fb7cd7c02ad301519eca6d29 (patch) | |
tree | 0a361c05eddcc0507384994f3b03071d7fb3bceb /src/backend/executor/nodeSubplan.c | |
parent | b94f7b5350e97ef0587c0c64aed6eb940d964c06 (diff) | |
download | postgresql-9bed827b18cc4f27fb7cd7c02ad301519eca6d29.tar.gz postgresql-9bed827b18cc4f27fb7cd7c02ad301519eca6d29.zip |
Fix configure's snprintf test so it exposes HP-UX bug.
Since commit e1d19c902, buildfarm member gharial has been failing with
symptoms indicating that snprintf sometimes returns -1 for buffer
overrun, even though it passes the added configure check. Some
google research suggests that this happens only in limited cases,
such as when the overrun happens partway through a %d item. Adjust
the configure check to exercise it that way. Since I'm now feeling
more paranoid than I was before, also make the test explicitly verify
that the buffer doesn't get physically overrun.
Diffstat (limited to 'src/backend/executor/nodeSubplan.c')
0 files changed, 0 insertions, 0 deletions