summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dns-scope.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-03-06 09:43:09 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-03-06 14:24:15 +0100
commitd49dc7bbe7538567b1fe04f5d1e08f0376193ef6 (patch)
tree6606a7a91e2ad6311c8978b61413b22df2e1ff34 /src/resolve/resolved-dns-scope.h
parentudev: use strndupa_safe() rather than strndupa() (diff)
downloadsystemd-d49dc7bbe7538567b1fe04f5d1e08f0376193ef6.tar.xz
systemd-d49dc7bbe7538567b1fe04f5d1e08f0376193ef6.zip
string-util: allow taking SIZE_MAX as size to shorten to
This is useful for two reasons: 1. it addresses a potential overflow in a graceful way 2. Gives callers the ability to just pass SIZE_MAX for a NOP Prompted by: #31341
Diffstat (limited to 'src/resolve/resolved-dns-scope.h')
0 files changed, 0 insertions, 0 deletions