/[chrome]
Chromium logo

Revision 260157


Jump to revision: Previous Next
Author: jln@chromium.org
Date: Fri Mar 28 16:26:30 2014 UTC (9 years, 1 month ago)
Changed paths: 2
Log Message:
Linux Sandbox: fix BPF compiler bug

The code responsible for detecting similar blocks and merging
them didn't check for the next blocks if the last instruction was
not a JMP or a RET.

The patch to fix this bug (in codegen.cc) is based on a patch by
jld@panix.com, attached to the bug report.

Additional unittests are from jln@chromium.org

BUG=351103

Review URL: https://codereview.chromium.org/215173002

Changed paths

Path Details
Directorytrunk/src/sandbox/linux/seccomp-bpf/codegen.cc modified , text changed
Directorytrunk/src/sandbox/linux/seccomp-bpf/codegen_unittest.cc modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help