diff options
author | Eugene Chapko <eugene.chapko@gmail.com> | 2022-06-12 12:48:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-12 12:48:53 +0300 |
commit | 2efeb5cc2bb4a8cfd0328ac3aebf80d02b8ee972 (patch) | |
tree | 7c8a07ac8bf1696da5543eaac6e90bc47a0c6379 /src/node_options.h | |
parent | 8d5a3e352ca5fd082ef7f8ffd921a208ab9ea33d (diff) |
readline: fix question stack overflow
This commit fixes readline interface's question callback wrapping when
it is being called with `signal` option. Previous version completely
overwrites passed callback and throws "Maximum call stack size exceeded"
error.
PR-URL: https://github.com/nodejs/node/pull/43320
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_options.h')
0 files changed, 0 insertions, 0 deletions