github cilium/ebpf v0.12.2

latest releases: v0.16.0, v0.15.0, v0.14.0...
11 months ago

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 #1176
  • PinType: change from int to uint32 by @ti-mo in #1179
  • example: fix key type of xdp example by @BillyChen1 in #1178
  • sysenc: special case unmarshaling into []byte by @lmb in #1180
  • sysenc: refuse to unmarshal into undersized dst by @lmb in #1181

New Contributors

Full Changelog: v0.12.1...v0.12.2

Don't miss a new ebpf release

NewReleases is sending notifications on new releases.