-
Notifications
You must be signed in to change notification settings - Fork 442
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: rust-lang/regex
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.5.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: rust-lang/regex
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.5.5
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 12 commits
- 14 files changed
- 5 contributors
Commits on May 14, 2021
-
fuzz: bump libfuzzer-sys dependency
This is a half-hearted attempt to fix a build failure that I don't understand in OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34294 cc @DavidKorczynski
Configuration menu - View commit details
-
Copy full SHA for 6cdb904 - Browse repository at this point
Copy the full SHA 6cdb904View commit details
Commits on Jun 26, 2021
-
dfa: remove some redundant branches
I discovered these while reviewing the code to prep for the rewrite in regex-automata.
Configuration menu - View commit details
-
Copy full SHA for fce37e4 - Browse repository at this point
Copy the full SHA fce37e4View commit details
Commits on Jul 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bd0a142 - Browse repository at this point
Copy the full SHA bd0a142View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd74660 - Browse repository at this point
Copy the full SHA bd74660View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6bc7a4 - Browse repository at this point
Copy the full SHA d6bc7a4View commit details
Commits on Nov 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 63ee669 - Browse repository at this point
Copy the full SHA 63ee669View commit details
Commits on Nov 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3662851 - Browse repository at this point
Copy the full SHA 3662851View commit details
Commits on Nov 17, 2021
-
fuzz: do not use inherits in Cargo.toml
This fixes the oss-fuzz build. Specifically, the build log[1] showed this error: Step #3 - "compile-libfuzzer-address-x86_64": error: inherits must not be specified in root profile dev So we just remove it and inline the settings. PR #817 [1] - https://oss-fuzz-build-logs.storage.googleapis.com/log-c9b61873-8950-4a50-a729-820d5617ff7a.txt
Configuration menu - View commit details
-
Copy full SHA for 5197f21 - Browse repository at this point
Copy the full SHA 5197f21View commit details
Commits on Feb 25, 2022
-
It looks like the dead code detector got smarter. We never ended up using the 'printer' field in these visitors, so just get rid of it.
Configuration menu - View commit details
-
Copy full SHA for f6e52da - Browse repository at this point
Copy the full SHA f6e52daView commit details
Commits on Mar 3, 2022
-
cargo: use SPDX license format
We were previously using '/' to indicate the dual licensing scheme, but I guess we're now supposed to use 'OR'. PR #843
Configuration menu - View commit details
-
Copy full SHA for b92ffd5 - Browse repository at this point
Copy the full SHA b92ffd5View commit details -
security: fix denial-of-service bug in compiler
The regex compiler will happily attempt to compile '(?:){294967295}' by compiling the empty sub-expression 294,967,295 times. Empty sub-expressions don't use any memory in the current implementation, so this doesn't trigger the pre-existing machinery for stopping compilation early if the regex object gets too big. The end result is that while compilation will eventually succeed, it takes a very long time to do so. In this commit, we fix this problem by adding a fake amount of memory every time we compile an empty sub-expression. It turns out we were already tracking an additional amount of indirect heap usage via 'extra_inst_bytes' in the compiler, so we just make it look like compiling an empty sub-expression actually adds an additional 'Inst' to the compiled regex object. This has the effect of causing the regex compiler to reject this sort of regex in a reasonable amount of time by default. Many thanks to @VTCAKAVSMoACE for reporting this, providing the valuable test cases and continuing to test this patch as it was developed. Fixes GHSA-m5pq-gvj9-9vr8
Configuration menu - View commit details
-
Copy full SHA for ae70b41 - Browse repository at this point
Copy the full SHA ae70b41View commit details
Commits on Mar 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d130381 - Browse repository at this point
Copy the full SHA d130381View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.5.4...1.5.5