Uploaded image for project: 'Hyrax-Kanban'
  1. HK-299

Unchecked return value from opendir() causes segmentation fault.

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: Hyrax 1.15.3
    • Labels:
      None
    • Story Points:
      1

      Description

      In BESCatalogDirectory::get_node() the return form opendir() is unchecked. When the directory is not accessible (Permission Denied) this causes a null to be returned. Check return and something smart...

        Attachments

          Activity

            People

            • Assignee:
              ndp Nathan Potter
              Reporter:
              ndp Nathan Potter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h