Merge pull request #4151 from Teemperor/FixUninitRead

Fix uninitialized read in parse_cap when libcap is not used
This commit is contained in:
Christian Brauner 2022-07-04 10:10:17 +02:00 committed by GitHub
commit de6d054d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ static inline int lxc_caps_init(void)
static inline int lxc_caps_last_cap(__u32 *cap)
{
return 0;
return -1;
}
typedef int cap_value_t;