diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-06 19:49:02 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-06 19:49:02 +0000 |
commit | 5b924b1c9bf50629ae3494ae6b2cc2ad3f3c544f (patch) | |
tree | 36b2490fb674c3140dc35b8bc64a9e5b32d8bfc4 /src/backend/access/gist/gistutil.c | |
parent | 0c27e5857cabde3176b18f77d416cdf6cd36bc45 (diff) | |
download | postgresql-5b924b1c9bf50629ae3494ae6b2cc2ad3f3c544f.tar.gz postgresql-5b924b1c9bf50629ae3494ae6b2cc2ad3f3c544f.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/gistutil.c')
0 files changed, 0 insertions, 0 deletions