diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-06 19:48:45 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-06 19:48:45 +0000 |
commit | fbcc69c192a07bd25ac257164f24828a280f7f32 (patch) | |
tree | a370deceb0e6acd1b3d35c4c29b48f2ac09cbfee /src/backend/access/gist/gistxlog.c | |
parent | 2a59b7910eda9a1f31e6fb0cd541b93e8eb5f701 (diff) | |
download | postgresql-fbcc69c192a07bd25ac257164f24828a280f7f32.tar.gz postgresql-fbcc69c192a07bd25ac257164f24828a280f7f32.zip |
Prevent integer overflows during units conversion when displaying a GUC
variable that has units. Per report from Stefan Kaltenbrunner.
Backport to 8.2. I also backported my patch of 2007-06-21 that prevented
comparable overflows on the input side, since that now seems to have enough
field track record to be back-patched safely. That patch included addition
of hints listing the available unit names, which I did not bother to strip
out of it --- this will make a little more work for the translators, but
they can copy the translation from 8.3, and anyway an untranslated hint
is better than no hint.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions