Skip to content

krun fails when the number of arguments are high #323

Open
@eriksjolund

Description

@eriksjolund

krun fails when the number of arguments are high.
See the text corrupted size vs. prev_size in the following example

root@fedora:~# eval podman --runtime crun run --rm -t docker.io/library/alpine echo $(seq 1 31)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
root@fedora:~# eval podman --runtime crun run --rm -t docker.io/library/alpine echo $(seq 1 32)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
root@fedora:~# eval podman --runtime krun run --rm -t docker.io/library/alpine echo $(seq 1 31)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
root@fedora:~# eval podman --runtime krun run --rm -t docker.io/library/alpine echo $(seq 1 32)
corrupted size vs. prev_size
root@fedora:~# 

About the system:

Fedora 42

root@fedora:~# rpm -q libkrun
libkrun-1.11.2-1.fc42.x86_64
root@fedora:~# rpm -qf /usr/bin/podman
podman-5.4.2-1.fc42.x86_64
root@fedora:~# rpm -qf /usr/bin/crun
crun-1.21-1.fc42.x86_64
root@fedora:~# rpm -qf /usr/bin/krun
crun-krun-1.21-1.fc42.x86_64
root@fedora:~#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions