angler-fishThe Vulnerability History Project

window.atob() returns wrong value when given a string container only white spaces

      window.atob() returns wrong value when given a string container only white
spaces. The reason was that base64DecodeInternal() was calling Vector::grow()
before the loop but failed to call Vector::shrink() in case of early return.

R=
BUG=357332

Review URL: https://codereview.chromium.org/215833002

git-svn-id: svn://svn.chromium.org/blink/trunk@170264 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    
commit 91b27188b728e90c651c55a985d23ad0c26eb662
-1
-1
+5 -17
expand_less