]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r337508:
authorbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 14 Aug 2018 16:25:09 +0000 (16:25 +0000)
committerbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 14 Aug 2018 16:25:09 +0000 (16:25 +0000)
commit0dea83900e597d16e0411db8ba98063215d1d5b5
treeaf08e13fec5229d7e51875930be52c7f02ecb4fe
parent0b7dbe94b5de08d7b43845ba6eb0c6cb3b3928e2
MFC r337508:

Terminate filter_create_ext() args with NULL, not 0.

filter_create_ext() is documented to take a NULL terminated set of
arguments.  0 is promoted to an int so this would fail on 64-bit
systems if the value was not passed in a register.  On all currently
supported 64-bit architectures it is.

Obtained from: CheriBSD
Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@337768 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/flex/main.c