summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-11-17 21:20:40 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-11-17 21:20:40 +0000
commit63db65b2f0d85a41a0ceb38460b7970c5ce8b1ac (patch)
tree84c7868c8220536b37413bb37c4db5191425a0ec /src
parentb74471706b8394d6b57bc657a9bab04e171af643 (diff)
downloadgentoo-utils-63db65b2f0d85a41a0ceb38460b7970c5ce8b1ac.tar.gz
bump mon for bug fixes
Diffstat (limited to 'src')
-rw-r--r--src/atom/parsers.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/atom/parsers.rs b/src/atom/parsers.rs
index c609a1c..be59e1f 100644
--- a/src/atom/parsers.rs
+++ b/src/atom/parsers.rs
@@ -507,4 +507,16 @@ mod test {
Atom::parser().check_finished(it).unwrap();
}
+
+ #[test]
+ fn test_against_fuzzer_false_positives() {
+ let atoms = ["media-libs/libsdl2[haptitick(+),sound(+)vd,eio(+)]"];
+
+ for atom in atoms {
+ assert!(
+ Atom::parser().check_finished(InputIter::new(atom)).is_err(),
+ "{atom}"
+ );
+ }
+ }
}