Skip to content

Conversation

LiangHuDream
Copy link

Initialize IHostMemory::mImpl to nullptr and add null checks in IHostMemory accessors.
Add null checks in IDimensionExpr and IExprBuilder accessor methods so they return safe defaults (false/INT64_MIN/nullptr) when mImpl is null.
These are minimal safety guards to reduce the chance of segfaults when objects with missing mImpl are encountered (e.g., during ONNX parsing paths).

@LiangHuDream LiangHuDream requested a review from a team as a code owner October 18, 2025 01:42
@LiangHuDream LiangHuDream changed the title [fix]Segfault in TensorRT 10.13.3 ONNX parser #4586 [WIP][fix]Segfault in TensorRT 10.13.3 ONNX parser #4586 Oct 18, 2025
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