diff options
author | Chris Xiong <chirs241097@gmail.com> | 2023-10-20 18:48:11 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2023-10-20 18:48:11 -0400 |
commit | 690b19726fcbf19765962311461b7a6e17842b2b (patch) | |
tree | c08679c55ddb99a6f5ebfe35587a441f7cc9b656 /www-client/chromium/files | |
parent | 975eb07be098145d55ee2f2506242ffcbd245608 (diff) | |
download | ppo-690b19726fcbf19765962311461b7a6e17842b2b.tar.xz |
safe sprintf nullptrt
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch b/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch new file mode 100644 index 0000000..b0cf884 --- /dev/null +++ b/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch @@ -0,0 +1,13 @@ +diff --git a/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h b/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h +index 3644afae8b..386f86ac80 100644 +--- a/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h ++++ b/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h +@@ -184,7 +184,7 @@ struct Arg { + // + // Warning: don't just do Arg(NULL) here because in some libcs, NULL is an + // alias for nullptr! +- Arg(nullptr_t p) : type(INT) { ++ Arg(std::nullptr_t p) : type(INT) { + integer.i = 0; + // Internally, SafeSprintf expects to represent nulls as integers whose + // width is equal to sizeof(NULL), which is not necessarily equal to |