Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/external/mpl/bind/dist/lib/isc/buffer.c,v rcsdiff: /ftp/cvs/cvsroot/src/external/mpl/bind/dist/lib/isc/buffer.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- src/external/mpl/bind/dist/lib/isc/buffer.c 2019/01/09 16:55:14 1.3 +++ src/external/mpl/bind/dist/lib/isc/buffer.c 2019/11/27 05:48:42 1.4 @@ -1,4 +1,4 @@ -/* $NetBSD: buffer.c,v 1.3 2019/01/09 16:55:14 christos Exp $ */ +/* $NetBSD: buffer.c,v 1.4 2019/11/27 05:48:42 christos Exp $ */ /* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") @@ -560,10 +560,11 @@ isc_buffer_allocate(isc_mem_t *mctx, isc } isc_buffer_init(dbuf, bdata, length); - dbuf->mctx = mctx; ENSURE(ISC_BUFFER_VALID(dbuf)); + dbuf->mctx = mctx; + *dynbuffer = dbuf; return (ISC_R_SUCCESS);