summaryrefslogtreecommitdiff
path: root/src/tutorial/syscat.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-09-03 16:17:44 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-09-03 16:17:44 -0400
commit0962182f01c1e29417b016a82c7947697daba82b (patch)
tree1711bd3ab007f098d751195647b64d764a03eb02 /src/tutorial/syscat.source
parent2cda30e757a95f2c2dfa9d3a1726959fa6b02357 (diff)
Fix typo in pg_srand48 (srand48 in older branches).
">" should be ">>". This typo results in failure to use all of the bits of the provided seed. This might rise to the level of a security bug if we were relying on srand48 for any security-critical purposes, but we are not --- in fact, it's not used at all unless the platform lacks srandom(), which is improbable. Even on such a platform the exposure seems minimal. Reported privately by Andres Freund.
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions