in reply to xargs error using open cmd for output with redirected input file
Does $cmd work if you paste it into the shell?
Nothing wrong with that subroutine aside from shell interpolation vulnerability, which wouldn't be triggered by these strings (no meta characters)
src_line_info( '/auto/stbu-tools/wrlinux/wrl6/wrlinux-6/layers/binary-toolchain-4.8- +39/bin/i686-wrs-linux-gnu-addr2line', '/auto/pix-asa-image/essen/9.4.2.11/smp', );
If $cmd works from shell but not from src_line_info, then other part of program must use setuid to change the user, or the user running the program isn't the same one as your shell
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: xargs error using open cmd for output with redirected input file (setuid)
by cben (Initiate) on Nov 30, 2016 at 21:27 UTC | |
by Anonymous Monk on Dec 01, 2016 at 20:15 UTC |