unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63979: bug#64119: [PATCH] services: shepherd: Sanitize 'provision' field.
       [not found] <9770a88a008fd1d087e829a6ad57b556346be9c0.1686947093.git.mirai@makinata.eu>
@ 2023-06-25 21:44 ` Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2023-06-25 21:44 UTC (permalink / raw)
  To: Bruno Victal; +Cc: attila, 64119, 63979-done

Bruno Victal <mirai@makinata.eu> skribis:

> +(define (sanitize-shepherd-service-provision expr)
> +  (match expr
> +    (((? symbol?) ..1) expr)
> +    (_
> +     (raise
> +      (formatted-message
> +       (G_ "'provision' must be a non-empty list of symbols"))))))

Actually I figured we could do as in other areas of the code in a way
that reports error location, so I came up with a different patch.

Ludo’.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-25 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9770a88a008fd1d087e829a6ad57b556346be9c0.1686947093.git.mirai@makinata.eu>
2023-06-25 21:44 ` bug#63979: bug#64119: [PATCH] services: shepherd: Sanitize 'provision' field Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).