Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prominently document that overlong bitshifts cause undefined behavior #19214

Closed
pythonesque opened this issue Nov 22, 2014 · 1 comment
Closed

Comments

@pythonesque
Copy link
Contributor

Per #10183. This is a soundness hole and it seems unlikely to be fixed before 1.0. It needs to be clearly documented in the reference and elsewhere so people know that they have to write their code carefully to avoid it. See http://www.postgresql.org/docs/9.1/static/indexes-types.html caveats on hash indexes for an example of how to document major bugs in this way.

@steveklabnik
Copy link
Member

The overflow RFC addresses this, and I have a bug open to reconcile all RFCs with the reference, so this will be taken care of as part of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants