summaryrefslogtreecommitdiffhomepage
path: root/pkg/atomicbitops
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-09-27 13:32:29 -0700
committergVisor bot <gvisor-bot@google.com>2021-09-27 13:35:22 -0700
commit1fe0a6691ff5cb2e6b8955dc24819651cfe0c3af (patch)
tree183ac50211bb8730593c93b428e1218e9d521230 /pkg/atomicbitops
parent455924ee1b148002df9950558b07f049360212d1 (diff)
Prevent PacketData from being modified.
PacketData should not be modified and should be treated readonly because it represents packet payload. The old DeleteFront method allowed callers to modify the underlying buffer which should not be allowed. Added a way to consume from the PacketData instead of deleting from it. Updated call points to use that instead. Reported-by: syzbot+faee5cb350f769a52d1b@syzkaller.appspotmail.com PiperOrigin-RevId: 399268473
Diffstat (limited to 'pkg/atomicbitops')
0 files changed, 0 insertions, 0 deletions