Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/crypto/external/bsd/openssh/dist (reallocarray())



In article <20190309110959.GA3399%primenet.com.au@localhost>,
Geoff Wing  <gcw%pobox.com@localhost> wrote:
>On Saturday 2019-03-09 07:35 +1100, Christos Zoulas output:
>:Module Name:	src
>:Committed By:	christos
>:Date:		Fri Mar  8 20:34:24 UTC 2019
>:
>:Modified Files:
>:	src/crypto/external/bsd/openssh/dist: recallocarray.c
>:Log Message:
>:Replace our buggy recallocarray implementation one with the portable one
>:from OpenBSD.
>
>This is interesting.  We still have libc/stdlib/reallocarr{,ay}.c
>which implements recallocarray() in -lc
>Every version of pkgsrc/news/inn I try - self built or downloaded from
>nyftp.netbsd* segvs due to reallocarray() unless I hack around those calls.
>Does this "external/bsd/openssh/..." fix only work for openssh?  Or does this
>fix also affect the libc version we have?  (Not sure why we are duplicating
>but I'll take any one which works)
>
>[PS not pleased that ISC wanted to use this reallocarray() stuff]

This is re"c"allocarray nor reallocararray() which is in libc.

christos



Home | Main Index | Thread Index | Old Index