summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fmemopen.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-10-25 04:37:00 +0000
committerngie <ngie@FreeBSD.org>2015-10-25 04:37:00 +0000
commit6cbc0a272572035a0c0c63932c466c648eb0ea5b (patch)
tree037691ae21aa57af86885c78472987dabb124af6 /lib/libc/stdio/fmemopen.c
parentc3b2fc1a17134a82c9af92b29e06104271f9df71 (diff)
downloadFreeBSD-src-6cbc0a272572035a0c0c63932c466c648eb0ea5b.zip
FreeBSD-src-6cbc0a272572035a0c0c63932c466c648eb0ea5b.tar.gz
Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the
mode value isn't always clipped to -1 when (resolution * size) == 32, which would have been the case with values => {4i,32b,32t}. This seems to have been broken in r64382. MFC after: 1 week X-MFC with: r289915 PR: 200619 Reported by: Michael Baptist Submitted by: Lars Skodje Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/stdio/fmemopen.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud