[bigint] Fix GC unsafety issue
There must not be both an allocating function call and a handle deref in the list of arguments to a call. Depending on the evaluation order that the C++ compiler chooses, the deref could happen before the call and the resulting raw pointer be invalidated by the GC. Bug: chromium:818424 Change-Id: I525947252ff9d0b048a5bf82c2976e0acce739be Reviewed-on: https://chromium-review.googlesource.com/949782Reviewed-by: Adam Klein <adamk@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#51746}
Showing
Please
register
or
sign in
to comment