commit | b3bbba3570a7ba064f12c33f484eb9757a2b359e | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Sat Jun 02 23:06:38 2018 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Sun Jun 03 07:46:55 2018 -0700 |
tree | 68e5b635828abb20800a5f268cbbf01ecc8d0639 | |
parent | 1fbc2e0cfcf9677683aea2b1f9ea76fbdc6fb6d1 [diff] |
bpf: fix cbpf parser bug for octal numbers Range is 0-7, not 0-9, otherwise parser silently excludes it from the strtol() rather than throwing an error. Reported-by: Marc Boschma <marc@boschma.cx> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>