diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-05-05 10:54:35 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-05-05 10:58:56 +0000 |
commit | 9672b125531f4d3eda3d8483cf1d63d71ebc9875 (patch) | |
tree | 245b4c753370d661e7a504146221c5dd4af85934 /application | |
parent | a6f4bcefc08cb924b179cc1eadd9b2f95f2ffab1 (diff) |
Early return from asciistream file read if file is empty
Avoids a transitive vespalib::string append with nullptr buffer and
zero length, which in turn ends up passing nullptr to memmove, which
is undefined.
Diffstat (limited to 'application')
0 files changed, 0 insertions, 0 deletions