Symbol: SIZE_MAX
bin/dd/args.c
219
errx(1, "files must be between 1 and %zu", SIZE_MAX);
bin/sh/expand.c
900
if (len >= SIZE_MAX / 2 || len > PTRDIFF_MAX)
crypto/libressl/crypto/asn1/asn1_lib.c
130
if (length > (SIZE_MAX >> 8))
crypto/libressl/crypto/evp/e_chacha20poly1305.c
477
if (len > SIZE_MAX - cpx->in_len) {
crypto/libressl/crypto/modes/gcm128.c
227
#if SIZE_MAX == 0xffffffffffffffff
crypto/libressl/crypto/modes/gcm128.c
350
#if SIZE_MAX == 0xffffffffffffffff
crypto/libressl/crypto/modes/gcm128.c
367
#if SIZE_MAX == 0xffffffffffffffff
crypto/libressl/crypto/modes/gcm128.c
424
#if SIZE_MAX == 0xffffffffffffffff
crypto/libressl/crypto/modes/gcm128.c
442
#if SIZE_MAX == 0xffffffffffffffff
crypto/libressl/crypto/modes/gcm128.c
591
#if SIZE_MAX == 0xffffffffffffffff
crypto/libressl/ssl/tls_buffer.c
200
if (buf->len > SIZE_MAX - n)
crypto/libressl/tls/tls_conninfo.c
39
if (inlen >= SIZE_MAX)
crypto/openssh/auth-options.c
57
if (nsrc >= SIZE_MAX / sizeof(*src) ||
crypto/openssh/defines.h
334
#ifndef SIZE_MAX
crypto/openssh/misc.c
971
if ((srclen = strlen(src)) >= SIZE_MAX)
crypto/openssh/ssh-ed25519.c
242
if (dlen >= SIZE_MAX - len) {
crypto/openssh/ssh-keygen.c
2261
if ((tlen = strlen(cp)) >= SIZE_MAX - 5)
crypto/openssh/ssh-xmss.c
318
if (dlen >= SIZE_MAX - len) {
crypto/openssh/sshbuf-getput-basic.c
104
if (offset >= SIZE_MAX - len)
crypto/openssh/sshbuf-misc.c
100
if (d == NULL || b64 == NULL || sshbuf_len(d) >= SIZE_MAX / 2)
crypto/openssh/sshbuf-misc.c
221
if (s == NULL || l > SIZE_MAX)
crypto/openssh/sshbuf-misc.c
83
if (SIZE_MAX / 2 <= len || (ret = malloc(len * 2 + 1)) == NULL)
crypto/openssh/xmalloc.c
53
if (SIZE_MAX / nmemb < size)
include/stdint.h
103
#define RSIZE_MAX (SIZE_MAX >> 1)
lib/libc/stdlib/nmalloc.c
816
number > 0 && SIZE_MAX / number < size) {
lib/libc/stdlib/reallocarray.c
33
number > 0 && SIZE_MAX / number < size) {
lib/libc/stdlib/recallocarray.c
40
newnmemb > 0 && SIZE_MAX / newnmemb < size) {
lib/libc/stdlib/recallocarray.c
47
oldnmemb > 0 && SIZE_MAX / oldnmemb < size) {
lib/libexecinfo/private_libelf.h
2617
shnum > SIZE_MAX / fsz || \
lib/libexecinfo/private_libelf.h
3487
if (sh_size / fsz > SIZE_MAX) {
lib/libexecinfo/private_libelf.h
3496
if (count > 0 && msz > SIZE_MAX / count) {
lib/libexecinfo/private_libelf.h
3502
assert(count <= SIZE_MAX);
lib/libexecinfo/private_libelf.h
3503
assert(msz * count <= SIZE_MAX);
lib/libssh/openbsd-compat/glob.c
813
SIZE_MAX / sizeof(*pathv) <= newn ||
lib/libssh/openbsd-compat/glob.c
814
SIZE_MAX / sizeof(*statv) <= newn) {
sys/dev/drm/amd/amdgpu/amdgpu_bo_list.c
73
if (num_entries > (SIZE_MAX - sizeof(struct amdgpu_bo_list))
sys/dev/drm/i915/i915_gem_execbuffer.c
2107
SIZE_MAX / sizeof(*fences)))
sys/dev/drm/i915/i915_gem_execbuffer.c
2476
return !(count < 1 || count > INT_MAX || count > SIZE_MAX / sz - 1);
sys/dev/drm/linux_vmalloc.c
141
if (n > SIZE_MAX / size)
usr.bin/comm/comm.c
188
if (SIZE_MAX / sizeof(*buf) < n + 1)
usr.bin/diff/diffreg.c
506
sz = (filesize <= SIZE_MAX ? filesize : SIZE_MAX) / 25;
usr.bin/m4/eval.c
104
size_t mark = SIZE_MAX;
usr.bin/m4/eval.c
115
if (mark != SIZE_MAX)
usr.bin/m4/trace.c
184
return SIZE_MAX;
usr.bin/patch/inp.c
176
if ((uint64_t)filestat.st_size > SIZE_MAX) {
usr.bin/patch/pch.c
1577
min_components = min_baselen = min_len = SIZE_MAX;
usr.bin/sdiff/sdiff.c
375
if (width > (SIZE_MAX - 3) / 2)
usr.bin/sdiff/sdiff.c
530
if (*col > SIZE_MAX - tabsize)
usr.bin/sdiff/sdiff.c
787
if (file1start == SIZE_MAX)
usr.bin/sdiff/sdiff.c
799
if (file2start == SIZE_MAX)
usr.bin/uniq/uniq.c
187
if (SIZE_MAX / sizeof(*buf) < n + 1)