commit | 0c96fdf819ec17a08516505ae478aa81c68c5435 | [log] [tgz] |
---|---|---|
author | nichanghao.nch <nichanghao@linux.alibaba.com> | Wed Jan 17 22:13:35 2024 +0800 |
committer | Kuiying Wang <wangkuiying.wky@alibaba-inc.com> | Tue Jan 30 02:40:55 2024 +0000 |
tree | 9c4a2017e87204851d90248d00f5c6f2b2825b61 | |
parent | ba0da6b3a98cd00ef5477c9dc584e187f430b76e [diff] |
BugFix: user name contains invalid characters There is an typo in the policy "[a-zA-z_]" configuration. It it should be "[a-zA-Z_]" Tested: Create a username contains invalid characters like: ^, [, or ]. Before: invalid character can be added as username ipmitool user list 1 ID Name Callin 4 ^test true 5 [test true 7 ]test true 8 _test true After: error will be returned once user name has invalid character. ipmitool user set name 4 ^test4 Set User Name command failed (user 4, name ^test4): Unspecified error Change-Id: I28a7f36f10b44b59909536214e6688c1895ac14f Signed-off-by: nichanghao.nch <nichanghao@linux.alibaba.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage