Skip to content

Fix TypeManager null dereference in _typeconv.select_overload - #909

Open
fallintoplace wants to merge 1 commit into
NVIDIA:mainfrom
fallintoplace:fix-typeconv-select-overload-null-deref
Open

Fix TypeManager null dereference in _typeconv.select_overload#909
fallintoplace wants to merge 1 commit into
NVIDIA:mainfrom
fallintoplace:fix-typeconv-select-overload-null-deref

Conversation

@fallintoplace

@fallintoplace fallintoplace commented Jul 3, 2026

Copy link
Copy Markdown

Summary

  • Guard select_overload() after unwrap_TypeManager() failure to return NULL immediately with TypeError.
  • Add regression test test_select_overload_bad_type_manager to ensure invalid capsule input fails safely.

@copy-pr-bot

copy-pr-bot Bot commented Jul 3, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@fallintoplace
fallintoplace force-pushed the fix-typeconv-select-overload-null-deref branch from 7fe3593 to 3ccb607 Compare July 3, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant