mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 00:26:16 +03:00
ft_dlvsym() check for NULL version
This commit is contained in:
@@ -3075,6 +3075,7 @@ void *ft_dlvsym(void *handle, const char *symbol, const char *version,
|
||||
#else
|
||||
// dlvsym does not exists, version is always NULL at compile time.
|
||||
addr = dlsym(handle, symbol);
|
||||
if (version != NULL) fprintf(stderr, "ft_dlvsym(): version is not NULL\n");
|
||||
#endif
|
||||
if (!addr && should_debug_dlsym) {
|
||||
fprintf(stderr, "[FAKETIME_DEBUG_DLSYM] Cannot find symbol: %s\n", full_name);
|
||||
|
||||
Reference in New Issue
Block a user