-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#17954 Fix breakpad compilation with gcc-13
- Loading branch information
1 parent
a9b270f
commit 9649377
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
recipes/breakpad/all/patches/0004-Fix-gcc13-compilation.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- a/src/client/linux/handler/minidump_descriptor.h | ||
+++ b/src/client/linux/handler/minidump_descriptor.h | ||
@@ -30,6 +30,7 @@ | ||
#ifndef CLIENT_LINUX_HANDLER_MINIDUMP_DESCRIPTOR_H_ | ||
#define CLIENT_LINUX_HANDLER_MINIDUMP_DESCRIPTOR_H_ | ||
|
||
+#include <cstdint> | ||
#include <assert.h> | ||
#include <sys/types.h> | ||
|
||
--- a/src/processor/exploitability_linux.cc | ||
+++ b/src/processor/exploitability_linux.cc | ||
@@ -516,7 +516,6 @@ | ||
raw_bytes_tmpfile); | ||
FILE* objdump_fp = popen(cmd, "r"); | ||
if (!objdump_fp) { | ||
- fclose(objdump_fp); | ||
unlink(raw_bytes_tmpfile); | ||
BPLOG(ERROR) << "Failed to call objdump."; | ||
return false; |