Commit 8a9d678b authored by Max Kellermann's avatar Max Kellermann

Merge branch 'v0.22.x'

parents 0440c41c dbe12a6b
...@@ -14,6 +14,8 @@ ver 0.23 (not yet released) ...@@ -14,6 +14,8 @@ ver 0.23 (not yet released)
- new tags "ComposerSort", "Ensemble", "Movement", "MovementNumber", and "Location" - new tags "ComposerSort", "Ensemble", "Movement", "MovementNumber", and "Location"
* new build-time dependency: libfmt * new build-time dependency: libfmt
ver 0.22.9 (not yet released)
ver 0.22.8 (2021/05/22) ver 0.22.8 (2021/05/22)
* fix crash bug in "albumart" command (0.22.7 regression) * fix crash bug in "albumart" command (0.22.7 regression)
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.musicpd" package="org.musicpd"
android:installLocation="auto" android:installLocation="auto"
android:versionCode="56" android:versionCode="57"
android:versionName="0.22.8"> android:versionName="0.22.9">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/> <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
......
...@@ -118,7 +118,10 @@ if get_option('buildtype') != 'debug' ...@@ -118,7 +118,10 @@ if get_option('buildtype') != 'debug'
endif endif
if get_option('fuzzer') if get_option('fuzzer')
fuzzer_flags = ['-fsanitize=fuzzer,address,undefined'] fuzzer_flags = ['-fsanitize=fuzzer']
if get_option('b_sanitize') == 'none'
fuzzer_flags += ['-fsanitize=address,undefined']
endif
add_global_arguments(fuzzer_flags, language: 'cpp') add_global_arguments(fuzzer_flags, language: 'cpp')
add_global_arguments(fuzzer_flags, language: 'c') add_global_arguments(fuzzer_flags, language: 'c')
add_global_link_arguments(fuzzer_flags, language: 'cpp') add_global_link_arguments(fuzzer_flags, language: 'cpp')
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <stdio.h> #include <stdio.h>
#ifdef __clang__ #if defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic push #pragma GCC diagnostic push
// TODO: fix this warning properly // TODO: fix this warning properly
#pragma GCC diagnostic ignored "-Wformat-security" #pragma GCC diagnostic ignored "-Wformat-security"
...@@ -59,7 +59,7 @@ FormatInvalidArgument(const char *fmt, Args&&... args) noexcept ...@@ -59,7 +59,7 @@ FormatInvalidArgument(const char *fmt, Args&&... args) noexcept
return std::invalid_argument(buffer); return std::invalid_argument(buffer);
} }
#ifdef __clang__ #if defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment