diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-08-22 12:33:27 +0900 |
---|---|---|
committer | Lukáš Nykrýn <lnykryn@redhat.com> | 2019-05-03 12:50:30 +0200 |
commit | a652268ae11633cf64c87586bed1fd3c7141707a (patch) | |
tree | 4c948031f38e29f082fc598f2e5ef5c17fffcee2 /units | |
parent | 709214f554355158b2c3e70c7f3424997e002cee (diff) | |
download | systemd-a652268ae11633cf64c87586bed1fd3c7141707a.tar.gz |
util: do not use stack frame for parsing arbitrary inputs
This replaces strndupa() by strndup() in socket_address_parse(),
as input string may be too long.
Fixes issue 10007 by ClusterFuzz-External:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10007
(cherry picked from commit 8d30fcb9b51b1d102a589171b6e28f5f370236f6)
Resolves: #1696224
Diffstat (limited to 'units')
0 files changed, 0 insertions, 0 deletions