diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2023-03-01 03:15:27 +0000 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2023-02-28 22:28:37 -0500 |
commit | a78737482b3f5e9359c303099107644d7ee48e07 (patch) | |
tree | 671c39bab95e0a5fa6b3580a8451b3d67081156f /.github | |
parent | cb04afb806447d509e7722776e8533c5069571a3 (diff) | |
download | rabbitmq-c-a78737482b3f5e9359c303099107644d7ee48e07.tar.gz |
Correct fuzz_url.c to conform to fuzzing API
1. Always null-terminate the string provided, this is a requirement of
the API itself (fixes: https://crbug.com/oss-fuzz/56157).
2. Provide a string that amqp_parse_url can modify. This API modifies
its input (fixes: https://crbug.com/oss-fuzz/56162).
3. Always return 0 from the fuzzing function. It is expected that
amqp_parse_url will return non-0 when it fails to parse the input.
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions