Skip to content

[XrdHttp] Prevent a buffer overflow when handling a large Host header#2692

Merged
amadio merged 1 commit into
xrootd:masterfrom
daw1012345:fix/process_req_host_overflow
Jan 15, 2026
Merged

[XrdHttp] Prevent a buffer overflow when handling a large Host header#2692
amadio merged 1 commit into
xrootd:masterfrom
daw1012345:fix/process_req_host_overflow

Conversation

@daw1012345
Copy link
Copy Markdown
Contributor

When handing a MOVE request, the host header gets copied into a constant-size buffer with strcpy. Switch to strncpy.

When handing a MOVE request, the host header gets copied into a constant-size buffer with strcpy. Switch to strncpy.
@amadio amadio merged commit a3785d2 into xrootd:master Jan 15, 2026
12 checks passed
@amadio amadio added this to the 6.0.0 milestone Jan 15, 2026
@amadio amadio modified the milestones: 6.0.0, 5.9.2 Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants