diff options
author | Kevin Kuehler <keur@xcf.berkeley.edu> | 2019-11-28 01:35:15 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-28 08:58:29 +0100 |
commit | 6da498c28f2598bea4d651756485f57d54e379f4 (patch) | |
tree | 48524a78ab1754cbf54c6678d3653d521e9b317b /test/fuzz/fuzz-json | |
parent | systemctl: fix indentation of cgroup tree (diff) | |
download | systemd-6da498c28f2598bea4d651756485f57d54e379f4.tar.xz systemd-6da498c28f2598bea4d651756485f57d54e379f4.zip |
shared/ask-password-api: modify keyctl break value
We can break if KEYCTL_READ return value is equal to our buffer size.
From keyctl(2):
On a successful return, the return value is always the total size of
the payload data. To determine whether the buffer was of sufficient
size, check to see that the return value is less than or equal to the
value supplied in arg4.
Diffstat (limited to 'test/fuzz/fuzz-json')
0 files changed, 0 insertions, 0 deletions