This is an automated email from the ASF dual-hosted git repository.
Jens-G pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
from 80465010c THRIFT-6048: Limit struct read/write recursion depth in Perl
library Client: perl
add 6f6c619fe THRIFT-6046: Limit struct read/write recursion depth in
JavaScript library Client: js
No new revisions were added by this update.
Summary of changes:
compiler/cpp/src/thrift/generate/t_js_generator.cc | 22 +++
lib/js/Gruntfile.js | 5 +
lib/js/src/thrift.js | 18 ++
lib/js/test/test-skip-depth.html | 3 +
lib/js/test/test-skip-depth.js | 90 +++++++++
lib/nodejs/lib/thrift/binary_protocol.js | 16 ++
lib/nodejs/lib/thrift/compact_protocol.js | 16 ++
lib/nodejs/lib/thrift/header_protocol.js | 10 +
lib/nodejs/lib/thrift/json_protocol.js | 16 ++
lib/nodejs/lib/thrift/thrift.js | 2 +
lib/nodejs/test/recursion_depth.test.js | 213 +++++++++++++++++++++
lib/nodejs/test/testAll.sh | 2 +
.../JsRecursionDepthTest.thrift | 5 +-
13 files changed, 415 insertions(+), 3 deletions(-)
create mode 100644 lib/nodejs/test/recursion_depth.test.js
copy lib/lua/test/RecursionDepth.thrift => test/JsRecursionDepthTest.thrift
(81%)