This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: COMPILER WARNING: warning: offset outside bounds of constant string
Type: Stage: resolved
Components: Versions: Python 3.1, Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jcea Nosy List: jcea, python-dev
Priority: normal Keywords:

Created on 2011-04-20 16:59 by jcea, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg134164 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2011-04-20 16:59
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?.
msg134167 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2011-04-20 17:44
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.
msg134171 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2011-04-20 18:00
Sorry, the correct changeset was 5cf8f6da8743.
msg134172 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-04-20 19:14
New changeset febb6cf195e7 by Jesus Cea in branch '3.1':
Up-port changeset 5cf8f6da8743 (closes #11890)
http://hg.python.org/cpython/rev/febb6cf195e7

New changeset 063b4ab49fcc by Jesus Cea in branch '3.2':
MERGE: Up-port changeset 5cf8f6da8743 (closes #11890)
http://hg.python.org/cpython/rev/063b4ab49fcc
History
Date User Action Args
2022-04-11 14:57:16adminsetgithub: 56099
2011-04-20 19:14:38python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg134172

resolution: fixed
stage: resolved
2011-04-20 18:26:09jceasetassignee: jcea
2011-04-20 18:00:16jceasetmessages: + msg134171
2011-04-20 17:44:54jceasetmessages: + msg134167
2011-04-20 16:59:50jceacreate