commit | 34e6ccd405dfe9bd43d10cb8f0053598134688e3 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@ieisystem.com> | Wed Sep 18 09:22:53 2024 +0800 |
committer | George Liu <liuxiwei@ieisystem.com> | Wed Sep 18 10:39:18 2024 +0800 |
tree | c0fc57758282b4e6c86bd9f2b3555181f31354b0 | |
parent | e7d4559b0173596f29ceb5ba7da653b023067783 [diff] |
user_mgr: Fix potential out-of-bounds access If the sysconf method returns -1, an out-of-bounds access problem will occur when declaring the following vector: ``` std::vector<char> buffer(buflen); ``` Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: I1887cc418c40b01d839f9c0e25bef09a2605973b