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

Possible integer overflow in error handlers #66660

Closed
serhiy-storchaka opened this issue Sep 23, 2014 · 3 comments
Closed

Possible integer overflow in error handlers #66660

serhiy-storchaka opened this issue Sep 23, 2014 · 3 comments
Assignees
Labels
extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error

Comments

@serhiy-storchaka
Copy link
Member

BPO 22470
Nosy @serhiy-storchaka
Files
  • codecs_error_hadlers_overflow.patch
  • 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/serhiy-storchaka'
    closed_at = <Date 2014-10-04.12:12:03.039>
    created_at = <Date 2014-09-23.17:35:51.399>
    labels = ['extension-modules', 'type-bug']
    title = 'Possible integer overflow in error handlers'
    updated_at = <Date 2014-10-04.12:12:03.037>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2014-10-04.12:12:03.037>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2014-10-04.12:12:03.039>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2014-09-23.17:35:51.399>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['36701']
    hgrepos = []
    issue_num = 22470
    keywords = ['patch']
    message_count = 3.0
    messages = ['227370', '228450', '228451']
    nosy_count = 3.0
    nosy_names = ['Arfrever', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22470'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    @serhiy-storchaka
    Copy link
    Member Author

    There are potential integer overflows in error handlers. Here is simple patch which fixes them.

    @serhiy-storchaka serhiy-storchaka self-assigned this Sep 23, 2014
    @serhiy-storchaka serhiy-storchaka added extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error labels Sep 23, 2014
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Oct 4, 2014

    New changeset a3e18dd8f267 by Serhiy Storchaka in branch '2.7':
    Fixed issue number for issue bpo-22470 in Misc/NEWS.
    https://hg.python.org/cpython/rev/a3e18dd8f267

    New changeset cba365e2117f by Serhiy Storchaka in branch '3.4':
    Fixed issue number for issue bpo-22470 in Misc/NEWS.
    https://hg.python.org/cpython/rev/cba365e2117f

    New changeset fc941169125e by Serhiy Storchaka in branch 'default':
    Fixed issue number for issue bpo-22470 in Misc/NEWS.
    https://hg.python.org/cpython/rev/fc941169125e

    @serhiy-storchaka
    Copy link
    Member Author

    Committed in 3f7519f633ed, ec9b7fd246b6, 2df4cc31c36e (and d1be1f355f59 fixes an error in 3f7519f633ed).

    @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
    extension-modules C modules in the Modules dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant