v0.12.2
版本发布时间: 2023-10-20 22:56:09
cilium/ebpf最新发布版本:v0.16.0(2024-07-24 17:40:43)
This release fixes unmarshaling from a map operation into a []byte
, see #1180. This is a regression in v0.12.0.
We now also properly return an error when the value to unmarshal into is too small, see #1181. This behaviour has existed for a long time.
What's Changed
- btf: stop accessing Spec.types from tests by @lmb in https://github.com/cilium/ebpf/pull/1176
- PinType: change from int to uint32 by @ti-mo in https://github.com/cilium/ebpf/pull/1179
- example: fix key type of xdp example by @BillyChen1 in https://github.com/cilium/ebpf/pull/1178
- sysenc: special case unmarshaling into []byte by @lmb in https://github.com/cilium/ebpf/pull/1180
- sysenc: refuse to unmarshal into undersized dst by @lmb in https://github.com/cilium/ebpf/pull/1181
New Contributors
- @BillyChen1 made their first contribution in https://github.com/cilium/ebpf/pull/1178
Full Changelog: https://github.com/cilium/ebpf/compare/v0.12.1...v0.12.2