mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-04-28 16:52:32 +00:00
Merge pull request #4151 from Teemperor/FixUninitRead
Fix uninitialized read in parse_cap when libcap is not used
This commit is contained in:
commit
de6d054d22
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user