commit | 3d410e47b89c65a97f53156a865eed587852b1e5 | [log] [tgz] |
---|---|---|
author | Gabe Black <gabeblack@chromium.org> | Wed Nov 02 22:01:01 2016 -0700 |
committer | Gabe Black <gabeblack@google.com> | Wed Nov 02 22:33:34 2016 -0700 |
tree | eeb03ecae4a9ca093c2895532232b81b342089ca | |
parent | 33234e3505bb578c0312d64a6ed68bdf3194aa89 [diff] |
netboot: Handle the "params" area having zero size. If the params area has zero size, xmalloc will return NULL. A later assert will trigger, killing depthcharge. This checks for the zero sized storage area and just reports success. Change-Id: If14b2d06c22e126fa40ad2e8a67844e4aca05228