summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-14 04:17:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-14 14:23:10 +0300
commit8c10bf43797c2d637b7292575271ab201296b020 (patch)
tree53e0dd7c382aec1b213c6ee973be10d8dfb15604 /src/settings.h
parent9e4376f937257ecb72ef29492516e3de1e882dfd (diff)
downloadmanaplus-8c10bf43797c2d637b7292575271ab201296b020.tar.gz
manaplus-8c10bf43797c2d637b7292575271ab201296b020.tar.bz2
manaplus-8c10bf43797c2d637b7292575271ab201296b020.tar.xz
manaplus-8c10bf43797c2d637b7292575271ab201296b020.zip
Fix possible use after free in curl.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 914532977..d25f27d21 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -56,6 +56,7 @@ class Settings final
gmCommandSymbol("@"),
gmCharCommandSymbol("#"),
linkCommandSymbol("="),
+ userAgent(),
updateMirrors(),
options(),
guiAlpha(1.0F),
@@ -115,6 +116,7 @@ class Settings final
std::string gmCommandSymbol;
std::string gmCharCommandSymbol;
std::string linkCommandSymbol;
+ std::string userAgent;
std::vector<std::string> updateMirrors;
Options options;
float guiAlpha;