summaryrefslogtreecommitdiffhomepage
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-08-24 10:28:27 +0200
committerJo-Philipp Wich <jo@mein.io>2022-08-24 15:33:18 +0200
commitd84b53aa06fbcf529deb413e18c5c4f3e562c6dc (patch)
treefaa3052a9c5599635b38550956ce43345e635aca /examples/CMakeLists.txt
parentc43a54f6dc45590ce553a294ae59bd14324212f2 (diff)
source: avoid null pointer access in uc_source_runpath_set()
When loading a precompiled program from stdin, the input source runpath is unset which subsequently leads to a null pointer being passed to uc_source_runpath_set() when will then attempt to strdup() it, leading to a null pointer access. Properly handle this case and only duplicate non-null pointers. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'examples/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions