> Anyway, I got inspired and debugged the issue further myself [...] > I pushed a fix like that to gerrit, please have a look: > https://gerrit.fd.io/r/c/vpp/+/27416
Great. In addition to that, maybe we should change 0 to be invalid to catch those errors more easily, eg. https://gerrit.fd.io/r/c/vpp/+/27443 > By the way, do you think address sanitizer could be used to find this > kind of bugs? ASan, no, but MSan should https://clang.llvm.org/docs/MemorySanitizer.html Not tried on VPP yet but it would be a cool addition for sure 😊 ben
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16650): https://lists.fd.io/g/vpp-dev/message/16650 Mute This Topic: https://lists.fd.io/mt/74649468/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-