diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-08-22 12:33:27 +0900 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-10-29 10:18:25 +0100 |
commit | b18cff1a304aa74e35db7775edeb9e681e44559c (patch) | |
tree | 7f7be86a8ec12f46a9d0a575484aa5931517e063 /src/shared/bus-util.c | |
parent | d07ba72570dd5624913701fecf3244e1fa5c1438 (diff) |
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)
Diffstat (limited to 'src/shared/bus-util.c')
0 files changed, 0 insertions, 0 deletions