From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pbs-devel@lists.proxmox.com, Jakob-Tobias Winter <tobias@stuttgart.de>
Subject: applied: [PATCH proxmox-backup v2] bin: debug: api: fix panic on parameters given more than once
Date: Sat, 14 Nov 2026 22:27:43 +0100 [thread overview]
Message-ID: <179469166098.2392541.1117491661000343646.b4-ty@b4> (raw)
In-Reply-To: <20261112101029.726398-2-tobias@stuttgart.de>
On Thu, 12 Nov 2026 11:10:30 +0100, Jakob-Tobias Winter wrote:
> Array parameters, for example 'group-filter', are set by giving the
> parameter once per value. The command line parser collects the values of
> a repeated parameter in an array, while the 'api' subcommands expected a
> single string for each parameter and panicked with "entered unreachable
> code". So array parameters could only be passed with one value.
>
> Hand each value over to the parameter verification separately. Array
> parameters now accept more than one value, and other parameters that are
> given more than once get rejected as duplicate instead of causing a
> panic.
>
> [...]
Applied, thanks!
[1/1] bin: debug: api: fix panic on parameters given more than once
commit: 53a3e6289fd8b8211c93d8fb06472fdee7f4ff92
prev parent reply other threads:[~2026-11-14 21:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 10:10 [PATCH proxmox-backup v2] bin: debug: api: fix panic on parameters given more than once Jakob-Tobias Winter
2026-11-13 8:56 ` Christian Ebner
2026-11-14 21:27 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179469166098.2392541.1117491661000343646.b4-ty@b4 \
--to=t.lamprecht@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
--cc=tobias@stuttgart.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox