镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Miscellaneous fixes in Python/suggestions.c #106030

Closed

Description

@serhiy-storchaka
  • PyDict_GetItem() and PyObject_HasAttr() suppress arbitrary errors and
    should not be used.
  • PyUnicode_CompareWithASCIIString() only works if the second argument
    is ASCII string.
  • Refleak in get_suggestions_for_name_error.
  • Use of borrowed pointer after possible freeing (self).
  • Add some missing error checks.

Linked PRs

Activity

  1. added 2 commits that reference this issue on Jun 23, 2023
  2. changed the title [-]Miscaleous fixes in Python/suggestions.c[/-] [+]Miscellaneous fixes in Python/suggestions.c[/+] on Jun 23, 2023
  3. added a commit that references this issue on Jun 23, 2023
  4. added a commit that references this issue on Jun 23, 2023
  5. added 3 commits that reference this issue on Jun 23, 2023
  6. added a commit that references this issue on Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions