[Pkg-dkms-maint] [PATCH 4/4] Adding some quoting to postinst/prerm shell variables

David Paleino dapal at debian.org
Thu Feb 18 17:14:05 UTC 2010


David Paleino wrote:

> On Wednesday 17 February 2010 22:14:12, Frédéric Brière wrote:
>> I'm guessing none of this is necessary at all (version numbers cannot start
>> with "~", can they?), but better safe than sorry.  I didn't go so far as to
>> quote filenames, however.  Apply or reject at your leisure.
>
> [..] Quoting is really necessary if we expect whitespace in the variables, [..]

Or other strange characters (&, !, and so on), and we want to fail too
here.

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|----
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174





More information about the Pkg-dkms-maint mailing list