summaryrefslogtreecommitdiff
path: root/app-emulation/86Box/files/86Box-4.2.1-crashfix-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/86Box/files/86Box-4.2.1-crashfix-1.patch')
-rw-r--r--app-emulation/86Box/files/86Box-4.2.1-crashfix-1.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/app-emulation/86Box/files/86Box-4.2.1-crashfix-1.patch b/app-emulation/86Box/files/86Box-4.2.1-crashfix-1.patch
deleted file mode 100644
index 56dfae1cad56..000000000000
--- a/app-emulation/86Box/files/86Box-4.2.1-crashfix-1.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From f37c2339dce9213c21c7ccc8f8ad01260ce80603 Mon Sep 17 00:00:00 2001
-From: Tarek Soliman <tarek@bashasoliman.com>
-Date: Fri, 6 Sep 2024 17:05:44 -0500
-Subject: [PATCH] Media history: fix buffer overflow
-
----
- src/qt/qt_mediahistorymanager.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/qt/qt_mediahistorymanager.cpp b/src/qt/qt_mediahistorymanager.cpp
-index 9886c205bd..cd9be766b3 100644
---- a/src/qt/qt_mediahistorymanager.cpp
-+++ b/src/qt/qt_mediahistorymanager.cpp
-@@ -337,7 +337,7 @@ MediaHistoryManager::removeMissingImages(device_index_list_t &device_history)
- }
-
- char *p = checked_path.toUtf8().data();
-- char temp[1024] = { 0 };
-+ char temp[MAX_IMAGE_PATH_LEN -1] = { 0 };
-
- if (path_abs(p)) {
- if (strlen(p) > (MAX_IMAGE_PATH_LEN - 1))