diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-01-03 10:34:59 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-01-03 10:34:59 +0100 |
commit | a0fdef3d81b2978a4916d6e6fdf6dfc8f2b30900 (patch) | |
tree | de775f7da193a93ce42a8f4f6639d7d760ca4ec6 /lib | |
parent | 75dca8c816de2d65aee5117876b3c7110ad4cd47 (diff) |
[libUPnP][platinum] add patch for 75dca8c
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libUPnP/patches/0046-platinum-fix-format-security-warning.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libUPnP/patches/0046-platinum-fix-format-security-warning.patch b/lib/libUPnP/patches/0046-platinum-fix-format-security-warning.patch new file mode 100644 index 0000000000..07cd53e3a8 --- /dev/null +++ b/lib/libUPnP/patches/0046-platinum-fix-format-security-warning.patch @@ -0,0 +1,22 @@ +From 75dca8c816de2d65aee5117876b3c7110ad4cd47 Mon Sep 17 00:00:00 2001 +From: Rechi <Rechi@users.noreply.github.com> +Date: Wed, 3 Jan 2018 10:31:43 +0100 +Subject: [PATCH] [libUPnP][platinum] fix format-security warning + +--- + lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp +index 0a43dab603..feeb537648 100644 +--- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp ++++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltMediaServer.cpp +@@ -631,7 +631,7 @@ args: + msg = "Invalid args"; + + failure: +- NPT_LOG_WARNING(msg); ++ NPT_LOG_WARNING_1("%s", msg); + action->SetError(err, msg); + return NPT_FAILURE; + } |