Skip to content

Commit

Permalink
db: fix 64-bit argument comparisons
Browse files Browse the repository at this point in the history
Our approach to doing 64-bit comparisons using 32-bit operators was
just plain wrong, leading to a number of potential problems with
filters that used the LT, GT, LE, or GE operators.  This patch fixes
this problem and a few other related issues that came to light in
the course of fixing the core problem.

A special thanks to Jann Horn for bringing this problem to our
attention.

Signed-off-by: Paul Moore <paul@paul-moore.com>
  • Loading branch information
pcmoore committed Mar 14, 2019
1 parent 3e5a13d commit c5bf78d
Show file tree
Hide file tree
Showing 2 changed files with 542 additions and 206 deletions.
Loading

0 comments on commit c5bf78d

Please sign in to comment.