Gabriel,

I've taken a look at the code in question,
/usr/share/initramfs-tools/scripts/functions, in function parse_numeric.

The pattern in question, [A-Fa-f0-9]*, will match any string of characters of
arbitrary length (at least one character long) whose first character is a
valid hex digit (0-9, a-f, or A-F).  Remember, this is a shell pattern, not
a regular expression.  The following pattern will only match a string of from
one to four characters in length, inclusive, all of which are valid hex digits.

[A-Fa-f0-9] | [A-Fa-f0-9][A-Fa-f0-9] | [A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9] |\
[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]

(Note the backslash-newline combination at the end of the first line to
logically continue the line.)  This MAY solve your problem.  Note that this
suggested change is NOT endorsed by the upstream developer or Debian package
maintainer.  Use at your own risk.  But if you do try it, please report
your results.

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to