• Aleksy Barcz's avatar
    workaround for unitialized memory read on import set · 936b3617
    Aleksy Barcz authored
    + if we import a set in draw3 (from .xsd file), defcfg won't set _configId in imported params, leaving it uninitialized and leading to strange errors
    + initialize _configId to invalid value, so at worst it will fail in a more comprehensible way
    + we cannot throw from GetConfigId because of the "Caught unhandled unknown exception; terminating" wx behaviour which hides the place in code from which an exception is thrown. Overriding OnUnhandledException and OnExceptionInMainLoop in szapp (and e.g. calling abort, terminate from there) has no effect.
    + introduced a workaround in a completely different part of code than importing set, as the bug in importing set would be hard to find
    936b3617
Name
Last commit
Last update
cfgdealer Loading commit data...
cmake Loading commit data...
debian Loading commit data...
example-base Loading commit data...
extern Loading commit data...
iks Loading commit data...
isl Loading commit data...
libSzarp Loading commit data...
libSzarp2 Loading commit data...
m4 Loading commit data...
meaner3 Loading commit data...
parcook Loading commit data...
python Loading commit data...
qt4 Loading commit data...
resources Loading commit data...
script Loading commit data...
sender Loading commit data...
unit_tests Loading commit data...
utils Loading commit data...
wx Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.old Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
NEWS Loading commit data...
NEWS.pl_PL Loading commit data...
README Loading commit data...
README.md Loading commit data...
build.sh Loading commit data...
config.h.cmake Loading commit data...
maintainer-clean.sh Loading commit data...
overall.dia Loading commit data...
push.sh Loading commit data...
unbuild.sh Loading commit data...