Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !2665

i#2663 ~raw2trace_t segfault: Initialize modhandle

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge i2663-fix-segfault-when-no-modfile into master Oct 16, 2017
  • Overview 3
  • Commits 3
  • Pipelines 0
  • Changes 1

Created by: Carrotman42

Initialize the modhandle field to NULL, and don't call drmodtrack_offline_exit when the modhandle is NULL. This prevents a segfault during the destructor of raw2trace_t when the module file is missing or invalid.

Fixes #2663 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i2663-fix-segfault-when-no-modfile