Commit ece5db1
committed
CCBC-1674: Do not use non-owning spans to release memory with NETBUF_LIBC_PROXY
Fix use-after-free for build with NETBUF_LIBC_PROXY when snappy
compression is enabled. This is special build when caching allocator
is replaced with just libc malloc. It is used only during
development and testing, and never enabled in production.
Change-Id: If26d33c41819a475e99b40f9e6dddc3c15186170
Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/232551
Reviewed-by: Michael Reiche <michael.reiche@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>1 parent 8b51919 commit ece5db1
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
686 | 688 | | |
687 | 689 | | |
688 | 690 | | |
| |||
0 commit comments