summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-10-31 22:42:52 +0100
committerJo-Philipp Wich <jo@mein.io>2020-10-31 22:42:52 +0100
commit67d7d0f263c1c20fa1e29b755f4f74cda64d4a42 (patch)
tree8b472f6f524b5d3f05c5e0597395b9f7ca37aa3f /contrib
parentbe3a61d576581278177a4fcc4c436f99611ed057 (diff)
lib: fix potential null pointer deref on not found cmdline module
When a module is requested via -m but not found on the system, we do not have a context opcode available when instantiating the exception, which leads to a segmentation faul when attempting to access the source text offset. Avoid the deref by checking the opcode pointer for non-null. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions