mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1948] [CLOSED] fix for segfault while reseting handle for retrying #2268
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2268
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1948
Author: @nkkashyap
Created: 5/23/2022
Status: ❌ Closed
Base:
master← Head:nkashyap📝 Commits (1)
ebe4e72fix for segfault while resting handle for retrying📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
src/curl_util.cpp(+1 -0)📄 Description
Signed-off-by: Neeraj Kumar Kashyap nkashyap@in.ibm.com
Relevant Issue (if applicable)
s3fs is terminating with Segmentation fault
The issue is occurring with s3fs release v1.91
Details
Please describe the details of PullRequest.
In one situation, with
ibm_iam_authoptions3fstries to re-connectprivate.iam.cloud.ibm.comand gettingNSS error -5938 (PR_END_OF_FILE_ERROR). To handle this,s3fsresets the handle by callingRemakeHandlewhich in-turn callscurl_slist_removeto remove the keyAuthorizationand finally hitting withSIGSEGV.The code change in this PR provides the fix for the issue by terminating the
for loopincurl_slist_removeonce the key is removed fromrequestHeaders.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.