-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errant matches for large decimal numbers #304
Comments
jtmoon79
added a commit
that referenced
this issue
Jun 17, 2024
jtmoon79
added a commit
that referenced
this issue
Jun 17, 2024
jtmoon79
added a commit
that referenced
this issue
Jun 22, 2024
jtmoon79
added a commit
that referenced
this issue
Jun 22, 2024
Epoch is just a number. Numbers are common to find in files. Constrain the number range of acceptable epochs from Jan 1 2000 to Feb 2038. Issue #304
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Overzealous matching of decimal numbers leads to false positives. Datetimes are wildly wrong.
To Reproduce
Given file
/var/log/anaconda/packaging.log
found on Cent OS 9A single match of a large decimal number results in parsing of the file
The
17701934202
from... '/mnt/sysroot': 17701934202}
is matched.This is considered datetime 1770-01-09T10:42:02.000+0000
Environment:
Screenshots
The text was updated successfully, but these errors were encountered: