dharple / detox

Tames problematic filenames
BSD 3-Clause "New" or "Revised" License
318 stars 19 forks source link

inline-detox – segmentation fault #85

Open delphym opened 3 years ago

delphym commented 3 years ago

Hello there,

Following customisation of safe.tbl as mentioned in #79, just running a simple command without any modification to the safe.tbl can result into unexpected failure.

Scenario from #79 (but no mapping tbl modification)

Step to reproduce

  1. run echo "This is the 6th test" | inline-detox -v

    Actual results

    This_is_the_6th_test

    Expected results

    same as above... so it is working, however with the slight change of the input

    Scenario – different text to parse

  2. run echo "This is the (6th) test" | inline-detox -v

    Actual results

    [2]    71827 done                echo "This is the (6th) test" | 
       71828 segmentation fault  inline-detox -v

    Expected results

    This_is_the-6th-test

Note I'm on macOs Mojave and installed latest stable detox v1.4.5 via Homebrew.