Add missing recursion protection to objprof_get_strings.
commite910f51016a0b49fe7787594ae64e3825658a38d
authorAlexey Toptygin <alexeyt@fb.com>
Tue, 26 Sep 2017 23:57:37 +0000 (26 16:57 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 27 Sep 2017 00:06:07 +0000 (26 17:06 -0700)
tree03965a41105a3e4474dc46414bd0611f821db18c
parent51a367f44d54808e425f07d16d28596876b15a95
Add missing recursion protection to objprof_get_strings.

Summary: Copy the recursion protection strategy from objprof_get_data to objprof_get_strings. Add unit test.

Reviewed By: edwinsmith

Differential Revision: D5912822

fbshipit-source-id: 6e7f3bcca6e20f7d3a1aa4e5256d9e855f92fb0b
hphp/runtime/ext/objprof/ext_objprof.cpp
hphp/test/slow/objprof/strings-recursive.php [new file with mode: 0644]
hphp/test/slow/objprof/strings-recursive.php.expect [new file with mode: 0644]