diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-11-20 06:17:39 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-11-20 06:17:39 +0100 |
commit | efa646da494c659d24bc1f09936645eed1a10244 (patch) | |
tree | 3c85985b5c91630224a909fc40cf2e6996a3c645 /src/cmdline.cpp | |
parent | b0bc20bdeae770de3726f87d8ea13038491b2e29 (diff) | |
download | sciteco-efa646da494c659d24bc1f09936645eed1a10244.tar.gz |
renamed ED hook register to "ED" and protect ED hook executions
SciTECO commands usually only take parameters from the stack that
they need. Without protecting the ED hook execution with brace operators,
additional arguments not consumed by the hook-dispatching command
are passed into the ED hook invocation. Also an ED hook macro could
leave additional values on the expression stack (by accident).
All of this may lead to undefined behaviour if ED hooks
are involved.
Diffstat (limited to 'src/cmdline.cpp')
0 files changed, 0 insertions, 0 deletions