mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Prevent OOB when appending no bytes to a fluxmap.
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
|
||||
Fluxmap& Fluxmap::appendBytes(const Bytes& bytes)
|
||||
{
|
||||
if (bytes.size() == 0)
|
||||
return *this;
|
||||
|
||||
return appendBytes(&bytes[0], bytes.size());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user