diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-05-05 11:27:25 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-05-06 10:21:52 +0200 |
commit | d28b4544664e8c1bf7d1565d7defd1cceadc776b (patch) | |
tree | bfc47302fc8ea5b4633003933918a82787489161 /clustercontroller-apps/src | |
parent | 570a67ba5543f2fb712728694fc3acb3b68d5dbc (diff) |
Avoid ref of nullptr in nbostream::extend() when existing buffer is empty
Add `Array::data()` utility function to get raw buffer pointer instead of
going via `operator[]` which always takes a ref; the latter is not well
defined if the underlying buffer is nullptr.
Diffstat (limited to 'clustercontroller-apps/src')
0 files changed, 0 insertions, 0 deletions