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

COMPILER WARNING: warning: offset outside bounds of constant string #56099

Closed
jcea opened this issue Apr 20, 2011 · 4 comments
Closed

COMPILER WARNING: warning: offset outside bounds of constant string #56099

jcea opened this issue Apr 20, 2011 · 4 comments
Assignees

Comments

@jcea
Copy link
Member

jcea commented Apr 20, 2011

BPO 11890
Nosy @jcea

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/jcea'
closed_at = <Date 2011-04-20.19:14:38.251>
created_at = <Date 2011-04-20.16:59:50.817>
labels = []
title = 'COMPILER WARNING: warning: offset outside bounds of constant string'
updated_at = <Date 2011-04-20.19:14:38.249>
user = 'https://github.com/jcea'

bugs.python.org fields:

activity = <Date 2011-04-20.19:14:38.249>
actor = 'python-dev'
assignee = 'jcea'
closed = True
closed_date = <Date 2011-04-20.19:14:38.251>
closer = 'python-dev'
components = []
creation = <Date 2011-04-20.16:59:50.817>
creator = 'jcea'
dependencies = []
files = []
hgrepos = []
issue_num = 11890
keywords = []
message_count = 4.0
messages = ['134164', '134167', '134171', '134172']
nosy_count = 2.0
nosy_names = ['jcea', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue11890'
versions = ['Python 3.1', 'Python 3.2']

@jcea
Copy link
Member Author

jcea commented Apr 20, 2011

Compiling current 3.1 and 3.2 show this warning:

"""
Python/sysmodule.c:1378: warning: offset outside bounds of constant string
"""

This is a bit scary. Could be a security/stability hazard?.

@jcea
Copy link
Member Author

jcea commented Apr 20, 2011

This was introduced in 7327b4dbd4f0 and related changesets.

The problem doesn't affect 2.7 because of d52b1faa7b11. I would suggest to upport that changeset to 3.1 and 3.2.

@jcea
Copy link
Member Author

jcea commented Apr 20, 2011

Sorry, the correct changeset was 5cf8f6da8743.

@jcea jcea self-assigned this Apr 20, 2011
@python-dev
Copy link
Mannequin

python-dev mannequin commented Apr 20, 2011

New changeset febb6cf195e7 by Jesus Cea in branch '3.1':
Up-port changeset 5cf8f6da8743 (closes bpo-11890)
http://hg.python.org/cpython/rev/febb6cf195e7

New changeset 063b4ab49fcc by Jesus Cea in branch '3.2':
MERGE: Up-port changeset 5cf8f6da8743 (closes bpo-11890)
http://hg.python.org/cpython/rev/063b4ab49fcc

@python-dev python-dev mannequin closed this as completed Apr 20, 2011
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
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

1 participant