[PR #642] [MERGED] Fixed potential atomic violation in S3fsCurl::AddUserAgent - #633 #1583

Closed
opened 2026-03-04 02:01:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/642
Author: @ggtakec
Created: 9/17/2017
Status: Merged
Merged: 9/17/2017
Merged by: @ggtakec

Base: masterHead: master


📝 Commits (1)

  • 00bc914 Fixed potential atomic violation in S3fsCurl::AddUserAgent - #633

📊 Changes

3 files changed (+20 additions, -14 deletions)

View changed files

📝 src/curl.cpp (+15 -14)
📝 src/curl.h (+2 -0)
📝 src/s3fs.cpp (+3 -0)

📄 Description

Relevant Issue (if applicable)

#633

Details

I created a static method in S3fsCurl to create a User Agent string.
And this class method was called only once from s3fs.cpp before creating threads.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/642 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 9/17/2017 **Status:** ✅ Merged **Merged:** 9/17/2017 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`00bc914`](https://github.com/s3fs-fuse/s3fs-fuse/commit/00bc9142c42f3652d1f3d5799abc270f623cc390) Fixed potential atomic violation in S3fsCurl::AddUserAgent - #633 ### 📊 Changes **3 files changed** (+20 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+15 -14) 📝 `src/curl.h` (+2 -0) 📝 `src/s3fs.cpp` (+3 -0) </details> ### 📄 Description #### Relevant Issue (if applicable) #633 #### Details I created a static method in S3fsCurl to create a User Agent string. And this class method was called only once from s3fs.cpp before creating threads. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:10 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1583
No description provided.