Skip to content

Auth digest regression test: sends a truncated server nonce - #798

Closed
PaulLodge wants to merge 2 commits into
apache:trunkfrom
PaulLodge:port-auth
Closed

PaulLodge wants to merge 2 commits into
apache:trunkfrom
PaulLodge:port-auth

Conversation

@PaulLodge

@PaulLodge PaulLodge commented Oct 7, 2026 •

Copy link
Copy Markdown

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

…se the VALID_NONCE()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
crash = env.httpd_error_log.wait_for(
re.compile(r'.*exit signal Segmentation fault.*'),
start_pos, timeout=3)
assert not crash, "Server crashed processing truncated nonce"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be caught already for every pyhttpd test - the env.check_error_log wired up as a fixture in the top-level conftest.py - so I think it shouldn't be necessary to do manually

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @notroj thanks, you're absolutely right, I'll fix that

@PaulLodge

Copy link
Copy Markdown
Author

Tested on fc43 and Windows

@PaulLodge
PaulLodge marked this pull request as ready for review October 8, 2026 09:58
@notroj

notroj commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Thanks Paul!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants