aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-curses.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-20 06:17:39 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-20 06:17:39 +0100
commitefa646da494c659d24bc1f09936645eed1a10244 (patch)
tree3c85985b5c91630224a909fc40cf2e6996a3c645 /src/interface-curses.cpp
parentb0bc20bdeae770de3726f87d8ea13038491b2e29 (diff)
downloadsciteco-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/interface-curses.cpp')
0 files changed, 0 insertions, 0 deletions