HomeFreeBSD

MFC r293856:

Description

MFC r293856:

Avoid reading pass the end of the source buffer when it is not NUL
terminated.

If this buffer is adjacent to an unmapped page or a version of C with
bounds checked is used this may result in a crash.

PR: 206178
Submitted by: Alexander Cherepanov <cherepan@mccme.ru>
Requested by: danfe

Details

Provenance
brooksAuthored on
Parents
rS294537: MFC r293855:
Branches
Unknown
Tags
Unknown