Crash in cron.ParseStandard
Crash
panic: runtime error: slice bounds out of range [:-1]
Crash Log
github.com/robfig/cron/v3.Parser.Parse({0x125d130}, {0x116435c, 0x9}) /Users/ljc/go/pkg/mod/github.com/robfig/cron/[email protected]/parser.go:99 +0x7bc github.com/robfig/cron/v3.ParseStandard(...) /Users/ljc/go/pkg/mod/github.com/robfig/cron/[email protected]/parser.go:230
PoC
cron.ParseStandard("TZ=TZ=TZ=")
@robfig hey, my fuzzer encountered this problem, the solution seems to be simple. Now Parse panics when the time zone is entered incorrectly, like what is written here in the issue, so I just processed the input. Can you please take a look at my pr?
@Placebo900 robfig dipped out years ago so this is abandonware