Conversation
* test/modules/metadata/__init__.py, test/modules/metadata/samples.py, test/modules/metadata/test_002_mime_libmagic.py, test/modules/metadata/test_003_compare.py: New test suite. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
LELONG values from unsigned bytes, avoiding a left shift overflow when the top byte has the high bit set. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
notroj
force-pushed
the
mime-magic-testing
branch
from
September 15, 2026 14:43
816619c to
e87e35c
Compare
values from 32 bits, so that a rule value with the high bit set compares equal to the data with a 64-bit long. (mconvert): Store the assembled BELONG and LELONG value without sign extension. * test/modules/metadata/test_001_mime_magic.py: Add tests for belong and ulelong rules with the high bit set. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… for an indirect rule resolving to a negative offset. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
notroj
force-pushed
the
mime-magic-testing
branch
from
September 15, 2026 15:40
e87e35c to
d88e267
Compare
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Sep 15, 2026
* test/modules/metadata/__init__.py, test/modules/metadata/samples.py, test/modules/metadata/test_002_mime_libmagic.py, test/modules/metadata/test_003_compare.py: New test suite. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> GitHub: PR #757 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938257 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Sep 15, 2026
LELONG values from unsigned bytes, avoiding a left shift overflow when the top byte has the high bit set. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> GitHub: PR #757 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938258 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Sep 15, 2026
values from 32 bits, so that a rule value with the high bit set compares equal to the data with a 64-bit long. (mconvert): Store the assembled BELONG and LELONG value without sign extension. * test/modules/metadata/test_001_mime_magic.py: Add tests for belong and ulelong rules with the high bit set. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> GitHub: PR #757 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938259 13f79535-47bb-0310-9956-ffa450edef68
asf-gitbox-commits
pushed a commit
that referenced
this pull request
Sep 15, 2026
offsets and cast to apr_size_t before the bounds check so a negative offset cannot bypass it, both for the direct read and the indirect (INDIR) read. Submitted by: arshiya tabasum <arshi bugqore.com> GitHub: PR #757, closes #715 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1938260 13f79535-47bb-0310-9956-ffa450edef68
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.