]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sbuf_uionew(): sbuf_new() takes int as length
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 13 Apr 2021 19:12:19 +0000 (22:12 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 14 Apr 2021 07:23:20 +0000 (10:23 +0300)
commit116f26f947b8bbf868dcd85d79226406029a45ee
tree13a3020de7c560545d2e20be7f83ed367458eb74
parentfb451895fba7dee139594c722adb5f79af154341
sbuf_uionew(): sbuf_new() takes int as length

and length should be not less than SBUF_MINSIZE

Reported and tested by: pho
Noted and reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D29752
sys/kern/subr_sbuf.c