[PR #668] [MERGED] Improve libtrace / libtracelog #3710

Closed
opened 2026-05-05 10:06:28 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/668
Author: @thomasjfox
Created: 7/30/2016
Status: Merged
Merged: 7/31/2016
Merged by: @netblue30

Base: masterHead: improve-trace


📝 Commits (2)

  • a733a50 Fix wrong pointer variable in stat64 wrapper
  • 183eb02 libtrace: Add support for lstat() / lstat64()

📊 Changes

3 files changed (+31 additions, -4 deletions)

View changed files

📝 README (+2 -0)
📝 src/libtrace/libtrace.c (+27 -2)
📝 src/libtracelog/libtracelog.c (+2 -2)

📄 Description

Small improvements for libtrace / libtracelog.

If a program would have called stat() and then stat64(),
the traced program probably would crash with a NULL pointer access on orig_stat64.


🔄 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/netblue30/firejail/pull/668 **Author:** [@thomasjfox](https://github.com/thomasjfox) **Created:** 7/30/2016 **Status:** ✅ Merged **Merged:** 7/31/2016 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `improve-trace` --- ### 📝 Commits (2) - [`a733a50`](https://github.com/netblue30/firejail/commit/a733a5092b404276af646b522430466df19a1612) Fix wrong pointer variable in stat64 wrapper - [`183eb02`](https://github.com/netblue30/firejail/commit/183eb02508f538e8200b62bbefc1c48aa0675d28) libtrace: Add support for lstat() / lstat64() ### 📊 Changes **3 files changed** (+31 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `README` (+2 -0) 📝 `src/libtrace/libtrace.c` (+27 -2) 📝 `src/libtracelog/libtracelog.c` (+2 -2) </details> ### 📄 Description Small improvements for libtrace / libtracelog. If a program would have called stat() and then stat64(), the traced program probably would crash with a NULL pointer access on orig_stat64. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:06:28 -06: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: github-starred/firejail#3710
No description provided.