Skip to content

Commit

Permalink
[shim] Bug Fix: Call libc functions if still in init
Browse files Browse the repository at this point in the history
  • Loading branch information
stolet authored and ppenna committed Jul 25, 2024
1 parent daad62d commit fe5307c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shim/src/interpose.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
\
bool reentrant = is_reentrant_demi_call(); \
\
if (reentrant) \
if ((in_init) || (reentrant)) \
return (fn_libc(__VA_ARGS__)); \
\
INTERPOSE_CALL2(type, fn_libc, fn_demi, __VA_ARGS__); \
Expand Down

0 comments on commit fe5307c

Please sign in to comment.