Skip to content
This repository was archived by the owner on Aug 19, 2019. It is now read-only.
This repository was archived by the owner on Aug 19, 2019. It is now read-only.

dlsym: Used without proper error handling. #120

@cheako

Description

@cheako

In atw_vulkan.c, at least, dlsym is used as though it's guarantied the symbol being looked up exists. This may not be correct as it assumes that the Vulkan Loader was built and installed correctly.

To be correct dlsym should be wrapped in dlerror calls and given the usage here it may make sense to put this handling into a function that reports error and exits on symbol not found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions