Special characters in comments in Quadlet causes infinite loop in generator #22974
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.
Issue Description
Special characters string causes infinite loop (100% cpu usage in quadlet to unit files generator):
Seems similar to #21109
Steps to reproduce the issue
Steps to reproduce the issue
# =3;\
# 3;\
Describe the results you received
100% CPU usage, quadlet command stuck
Nota bene:
It looks like this happens only if the quadlet file is the LAST one to be processed - if the Quadlet file with this issue is not the last one to process it get SKIPPED SILENTLY by the quadlet command.
Describe the results you expected
Create unit files from quadlet
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
Additional information
The issue happens every time when the scenario is re-run.
I can additionally confirm that this issue is also present on:
The text was updated successfully, but these errors were encountered: