This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The dlopen error contains the filename and is passed verbatim to printf. so disable any % in the user-controlled name. repro: mangle a so. Breakpoint 3, SaveError (pat=0x1005ac486 "%s") at ./dlutils.c:188 188 while ((end = strchr(end, '%'))) { *end = ' '; } (gdb) p end $1 = 0x10110ee00 "dlopen(/usr/src/perl/blead/cperl/lib/auto/%B/%B.bundle, 1): no suitable image found. Did find:\n\t/usr/src/perl/blead/cperl/lib/auto/B/B.bundle: malformed mach-o image: load command #10 length (4096) wou"...
- Loading branch information