segfault when LISTEN_PID and LISTEN_FDS are set but not LISTEN_FDNAMES #10435
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
A segmentation fault can be triggered by setting the environment variables
LISTEN_PID
andLISTEN_FDS
but notLISTEN_FDNAMES
and thenpodman run ...
It seems the relevant code is
podman/pkg/rootless/rootless_linux.c
Line 314 in fe05956
Steps to reproduce the issue:
Create the file bug.bash with this content
Run
bash bug.sh
Describe the results you received:
Output of
podman version
:Output of
podman info --debug | grep -v hostname:
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Podman was built in a GitHub Actions workflow and
downloaded from https://github.com/eriksjolund/build-podman/actions/runs/860325818
The text was updated successfully, but these errors were encountered: