commit | 310962976d575c0a97ec7a768e9cca0b2361daea | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Mon Mar 21 14:16:03 2011 -0700 |
committer | Andreas Huber <andih@google.com> | Mon Mar 21 14:16:03 2011 -0700 |
tree | 59bff634240c22e21f4dd35f8b01780e9a42e25e | |
parent | 39068e0fa09e1e342d8cb2280edc5d1941e93bd5 [diff] |
If nothing is to be copied, return right away. This avoids a potential out-of-bounds problem in the code below. Change-Id: I942d55da0a5288b37512cb74407f900a2d824c0c related-to-bug: 4139974