bash crashes when splitcurl script try download non existent file
From:
Mikhail Gavrilov
Subject:
bash crashes when splitcurl script try download non existent file
Date:
Wed, 19 Jun 2024 03:49:10 +0500
Hi,
bash crashes when splitcurl script try download non existent file
Here is script: https://github.com/axelabs/splitcurl/blob/master/splitcurl
Example which is triggers crash:
> ./splitcurl "ftp://test.rebex.net/no-file" 10
fish: Job 1, './splitcurl "ftp://test.rebex.n…' terminated by signal
SIGSEGV (Address boundary error)
> bash --version
GNU bash, version 5.2.26(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
> rpm -q bash
bash-5.2.26-3.fc40.x86_64
--
Best Regards,
Mike Gavrilov.