[LU-4922] Fix cfs_str2mask to better deal with garbage input Created: 17/Apr/14 Updated: 30/May/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.1.6, Lustre 2.6.0, Lustre 2.5.1, Lustre 2.4.3, Lustre 2.15.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | easy | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 13606 | ||||||||
| Description |
|
Currently if you feed garbage input into cfs_str2mask, for example empty string, it would reset the value to min_mask where as I imagine it should just do nothing. So this needs to be fixed. |
| Comments |
| Comment by Minh Diep [ 30/May/23 ] |
|
[ 9461.895489] Lustre: 545572:0:(libcfs_string.c:112:cfs_str2mask()) unknown mask ''. |