projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9bbe2
)
Settings: Fix invalid memory access when setting not found in working mem
author
kwolekr
<kwolekr@minetest.net>
Fri, 12 Dec 2014 19:39:36 +0000
(14:39 -0500)
committer
kwolekr
<kwolekr@minetest.net>
Fri, 12 Dec 2014 19:39:36 +0000
(14:39 -0500)
src/settings.cpp
patch
|
blob
|
history
diff --git
a/src/settings.cpp
b/src/settings.cpp
index a8b15b6c2b47f87e2349efbb50993a1ddd403dbb..2f515caba9165ef83dad7e7116b7ca3b679fe628 100644
(file)
--- a/
src/settings.cpp
+++ b/
src/settings.cpp
@@
-254,7
+254,6
@@
bool Settings::updateConfigObject(std::istream &is, std::ostream &os,
printEntry(os, name, it->second, tab_depth);
was_modified = true;
} else {
- assert(it->second.group == NULL);
os << line << "\n";
if (event == SPE_MULTILINE)
os << value << "\n\"\"\"\n";