-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libbpf: Don't return -EINVAL if hdr_len < offsetofend(core_relo_len) #2717
Conversation
Master branch: 6585abe |
Master branch: aaccdf9 |
44e16b7
to
c911274
Compare
Master branch: ad13baf |
c911274
to
0e6d6f9
Compare
Master branch: 7cda76d |
0e6d6f9
to
5d3e41a
Compare
Master branch: a50cbac |
5d3e41a
to
7327bd9
Compare
Master branch: a50cbac |
7327bd9
to
4975a39
Compare
a50cbac
to
e0999c8
Compare
Master branch: e0999c8 |
4975a39
to
83572ec
Compare
Master branch: e0999c8 |
83572ec
to
325fed8
Compare
Master branch: 5a5c11e |
325fed8
to
bb30736
Compare
Master branch: 6091197 |
bb30736
to
fdad53c
Compare
Master branch: 6091197 |
fdad53c
to
40a461e
Compare
Master branch: 63cc8e2 |
40a461e
to
931cf85
Compare
Master branch: 63cc8e2 |
931cf85
to
3b23e7e
Compare
Master branch: 08063b4 |
Master branch: d0f325c |
02821f5
to
f5684aa
Compare
Master branch: d8dc09a |
f5684aa
to
adf5d8b
Compare
Master branch: d56c9fe |
adf5d8b
to
c23b568
Compare
Master branch: e581094 |
c23b568
to
2971915
Compare
Master branch: f97b8b9 |
2971915
to
f39e79c
Compare
Master branch: 9695f4e |
f39e79c
to
d11fea6
Compare
Master branch: e52b8f5 |
d11fea6
to
857ec85
Compare
e52b8f5
to
7f0059b
Compare
Master branch: 7f0059b |
857ec85
to
4751b8d
Compare
Master branch: 7f0059b |
4751b8d
to
ecb3bb9
Compare
Master branch: 2af7e56 |
ecb3bb9
to
5466bd4
Compare
Master branch: 169e777 |
5466bd4
to
c21c791
Compare
Master branch: d717e4c |
Since core relos is an optional part of the .BTF.ext ELF section, we should skip parsing it instead of returning -EINVAL if header size is less than offsetofend(struct btf_ext_header, core_relo_len). Fixes: e9fc3ce ("libbpf: Streamline error reporting for high-level APIs") Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
c21c791
to
3ed8f77
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=623922 irrelevant now for [{'archived': False, 'project': 399, 'delegate': 121173}] |
Pull request for series with
subject: libbpf: Don't return -EINVAL if hdr_len < offsetofend(core_relo_len)
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=623922