diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-07-18 01:01:24 +0200 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-24 08:37:25 +0100 |
commit | 0933725e0f33fa93256623933813381c62611bfd (patch) | |
tree | d9dcb7b504d898d6c854f645271bb13b58f805d9 /win32 | |
parent | 8efbd67183ccc98ce343ea0c69b62c8b75573c9f (diff) | |
download | busybox-w32-0933725e0f33fa93256623933813381c62611bfd.tar.gz busybox-w32-0933725e0f33fa93256623933813381c62611bfd.tar.bz2 busybox-w32-0933725e0f33fa93256623933813381c62611bfd.zip |
bb_basename: handle mixed slashes correctly
A path like C:/WINDOWS\system32 was handled incorrectly: it found the
forward slash, and then never bothered to look whether there was another
(back-)slash later on.
This fixes e.g. running BusyBox as C:/test\sh.exe
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions