Skip to content

Updating _fields_ of a derived struct type yields a bad cif#62260

@laurialanko

Description

@laurialanko
BPO18060
Nosy@amauryfa, @abalkin, @meadori, @websurfer5
PRs
  • bpo-18060: Updating _fields_ of a derived struct type yields a bad cif #13374
  • Files
  • t1.py: Test case
  • t2.py: test case uses PyCStructUnionType_update_stgdict() but not PyCStgDict_clone()
  • 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=Noneclosed_at=Nonecreated_at=<Date2013-05-25.19:07:26.282>labels= ['ctypes', '3.7', '3.8', 'type-crash'] title='Updating _fields_ of a derived struct type yields a bad cif'updated_at=<Date2019-05-17.04:20:58.133>user='https://bugs.python.org/laurialanko'

    bugs.python.org fields:

    activity=<Date2019-05-17.04:20:58.133>actor='Jeffrey.Kintscher'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['ctypes'] creation=<Date2013-05-25.19:07:26.282>creator='lauri.alanko'dependencies= [] files= ['30369', '48332'] hgrepos= [] issue_num=18060keywords= ['patch'] message_count=6.0messages= ['189992', '228414', '342505', '342520', '342532', '342676'] nosy_count=5.0nosy_names= ['amaury.forgeotdarc', 'belopolsky', 'meador.inge', 'lauri.alanko', 'Jeffrey.Kintscher'] pr_nums= ['13374'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='crash'url='https://bugs.python.org/issue18060'versions= ['Python 3.4', 'Python 3.5', 'Python 3.7', 'Python 3.8']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixes3.12only security fixes3.13bugs and security fixestopic-ctypestype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions