commit | ceb13b5ed33271dfd7e8a324263bef9eddc733f6 | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Thu May 11 15:28:20 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri May 12 09:45:30 2023 +0200 |
tree | 5ca2e7358ab9b0314b64597f4aa055ffad101ce1 | |
parent | 94df1b57ee0e2f3df97c0348f52ea7c74d98e12a [diff] |
MINOR: ncbuf: missing malloc checks in standalone code Some malloc resulsts were not checked in standalone ncbuf code. As this is debug/test code, we don't need to explicitly handle memory errors, we just add some BUG_ON() to ensure that memory is properly allocated and prevent unexpected results. This partially fixes issue GH #2130. No backport needed.