| Index: include/lib/fmap.h
|
| diff --git a/include/lib/fmap.h b/include/lib/fmap.h
|
| index c6678f7bb1e60aba81413dc810bd6cef8eb94012..cf0955f16b6c4518695c6bcfe0bc1ddd227f79b6 100644
|
| --- a/include/lib/fmap.h
|
| +++ b/include/lib/fmap.h
|
| @@ -81,7 +81,13 @@ struct fmap {
|
|
|
| /*
|
| * fmapNormalizeAreaName - to protect malicious attack, this function
|
| - * replace all non-digits and non-alphabet chars into underline.
|
| + * replace not allowed chars into underline. Only following are allowed:
|
| + *
|
| + * numbers
|
| + * digits
|
| + * space
|
| + *
|
| + * The allowing list should increase if fmap area name allows more chars.
|
| *
|
| * @name: point to the name.
|
| */
|
|
|