[PR #2538] [CLOSED] Fixed double free, changed fdent_map_t member to shared_ptr #2604

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2538
Author: @ggtakec
Created: 10/1/2024
Status: Closed

Base: masterHead: fix/double_free


📝 Commits (1)

  • f43cf20 Fixed double free, changed fdent_map_t member to shared_ptr

📊 Changes

3 files changed (+17 additions, -11 deletions)

View changed files

📝 src/fdcache.cpp (+14 -7)
📝 src/fdcache.h (+2 -2)
📝 src/fdcache_entity.h (+1 -2)

📄 Description

Relevant Issue (if applicable)

#2532 #2383

Details

Fixed a bug that caused multiple releases of the same pointer (std::unique_ptr set in std::map).


🔄 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/2538 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 10/1/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/double_free` --- ### 📝 Commits (1) - [`f43cf20`](https://github.com/s3fs-fuse/s3fs-fuse/commit/f43cf206dcbb34a89edcbf179af18a246cde07a6) Fixed double free, changed fdent_map_t member to shared_ptr ### 📊 Changes **3 files changed** (+17 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `src/fdcache.cpp` (+14 -7) 📝 `src/fdcache.h` (+2 -2) 📝 `src/fdcache_entity.h` (+1 -2) </details> ### 📄 Description ### Relevant Issue (if applicable) #2532 #2383 ### Details Fixed a bug that caused multiple releases of the same pointer (std::unique_ptr set in std::map). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:06:23 +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#2604
No description provided.