Merge branch 'v0.22.x'

This commit is contained in:
Max Kellermann 2021-05-25 18:21:42 +02:00
commit 8a9d678bac
4 changed files with 10 additions and 5 deletions

2
NEWS
View File

@ -14,6 +14,8 @@ ver 0.23 (not yet released)
- new tags "ComposerSort", "Ensemble", "Movement", "MovementNumber", and "Location"
* new build-time dependency: libfmt
ver 0.22.9 (not yet released)
ver 0.22.8 (2021/05/22)
* fix crash bug in "albumart" command (0.22.7 regression)

View File

@ -2,8 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.musicpd"
android:installLocation="auto"
android:versionCode="56"
android:versionName="0.22.8">
android:versionCode="57"
android:versionName="0.22.9">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>

View File

@ -118,7 +118,10 @@ if get_option('buildtype') != 'debug'
endif
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: 'c')
add_global_link_arguments(fuzzer_flags, language: 'cpp')

View File

@ -35,7 +35,7 @@
#include <stdio.h>
#ifdef __clang__
#if defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic push
// TODO: fix this warning properly
#pragma GCC diagnostic ignored "-Wformat-security"
@ -59,7 +59,7 @@ FormatInvalidArgument(const char *fmt, Args&&... args) noexcept
return std::invalid_argument(buffer);
}
#ifdef __clang__
#if defined(__clang__) || defined(__GNUC__)
#pragma GCC diagnostic pop
#endif