Skip to content

Fix PathTrie copy constructor and assignment#32

Open
nawaz1991 wants to merge 1 commit intomainfrom
j27pgu-codex/find-and-fix-bug-in-codebase
Open

Fix PathTrie copy constructor and assignment#32
nawaz1991 wants to merge 1 commit intomainfrom
j27pgu-codex/find-and-fix-bug-in-codebase

Conversation

@nawaz1991
Copy link
Copy Markdown
Owner

Summary

  • fix memory leak in PathTrie copy constructor and assignment operator
  • guard DeleteNode against null pointer
  • add regression tests for PathTrie copy semantics

Testing

  • cmake -S . -B build -DBUILD_TESTS=ON (fails: Could NOT find GTestSrc)

https://chatgpt.com/codex/tasks/task_e_6847f3376a08832390a3860110be76b9

@sonarqubecloud
Copy link
Copy Markdown

@github-advanced-security
Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants