diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-08-26 12:25:42 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-08-28 15:05:06 +0000 |
commit | 29ab3446c6e59773779c8e12fd00544828e8a51a (patch) | |
tree | add650366a9634e8fe884dc05e101085d90cf105 /src/vlibmemory/memory_shared.c | |
parent | eef61bb81a22f4c61c01e5afc8bd3b8612a71534 (diff) |
acl: perform a sanity check of ACL rules before creating ACL
Adding acl with incorrect arguments like 1.1.1.1/24 (instead of 1.1.1.0/24)
don't cause a disaster, but doesn't match either, as some might expect.
Add an explicit sanity check which returns an error.
Type: fix
Change-Id: Id1601f4b9c9887d3e7e70aac419d1f1de0c0e012
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vlibmemory/memory_shared.c')
0 files changed, 0 insertions, 0 deletions