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

bytesobject.c: Possible null pointer dereference due to formatfloat() #79060

Closed
ZackerySpytz mannequin opened this issue Oct 3, 2018 · 5 comments
Closed

bytesobject.c: Possible null pointer dereference due to formatfloat() #79060

ZackerySpytz mannequin opened this issue Oct 3, 2018 · 5 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@ZackerySpytz
Copy link
Mannequin

ZackerySpytz mannequin commented Oct 3, 2018

BPO 34879
Nosy @serhiy-storchaka, @ZackerySpytz, @miss-islington
PRs
  • bpo-34879: Fix a possible null pointer dereference in bytesobject.c #9683
  • [3.7] bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683) #9684
  • [3.6] bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683) #9685
  • 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 = None
    closed_at = <Date 2018-10-03.06:35:31.683>
    created_at = <Date 2018-10-03.04:53:44.613>
    labels = ['interpreter-core', '3.7', '3.8', 'type-crash']
    title = 'bytesobject.c: Possible null pointer dereference due to formatfloat()'
    updated_at = <Date 2018-10-03.06:35:31.683>
    user = 'https://github.com/ZackerySpytz'

    bugs.python.org fields:

    activity = <Date 2018-10-03.06:35:31.683>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-03.06:35:31.683>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2018-10-03.04:53:44.613>
    creator = 'ZackerySpytz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34879
    keywords = ['patch']
    message_count = 5.0
    messages = ['326933', '326938', '326939', '326940', '326941']
    nosy_count = 3.0
    nosy_names = ['serhiy.storchaka', 'ZackerySpytz', 'miss-islington']
    pr_nums = ['9683', '9684', '9685']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue34879'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    @ZackerySpytz
    Copy link
    Mannequin Author

    ZackerySpytz mannequin commented Oct 3, 2018

    The PyBytes_FromStringAndSize() call in formatfloat() is not checked for failure.

    @ZackerySpytz ZackerySpytz mannequin added 3.7 (EOL) end of life 3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump labels Oct 3, 2018
    @serhiy-storchaka
    Copy link
    Member

    New changeset 96c5932 by Serhiy Storchaka (Zackery Spytz) in branch 'master':
    bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683)
    96c5932

    @serhiy-storchaka
    Copy link
    Member

    Thank you for your report and fix Zackery.

    @miss-islington
    Copy link
    Contributor

    New changeset 063755c by Miss Islington (bot) in branch '3.7':
    bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683)
    063755c

    @miss-islington
    Copy link
    Contributor

    New changeset 6580e52 by Miss Islington (bot) in branch '3.6':
    bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683)
    6580e52

    @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
    3.7 (EOL) end of life 3.8 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) type-crash A hard crash of the interpreter, possibly with a core dump
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants