[pkg-cryptsetup-devel] Bug#901795: cryptsetup-initramfs: please provide documented shell functions to validate/sanitize cryptroot entries in 3rd party hook files

Guilhem Moulin guilhem at debian.org
Sat Sep 11 21:12:06 BST 2021


On Sat, 11 Sep 2021 at 22:01:52 +0200, Christoph Anton Mitterer wrote:
> Well then best is probably to e.g. document the \0xxx and mention that
> any other use of \ needs to have that quoted or it may have a special
> meaning?

Right, that's what I was hinting at in https://bugs.debian.org/901795#128 :-)

| I'd argue that ‘\’ is a special character which per documentation
| “needs to be escaped using octal sequences”, so both ‘\n’ and ‘\xHH’
| yield unspecified behavior, but I guess that can be made explicit.

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20210911/b5c26b25/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list