blacktop / ipsw

iOS/macOS Research Swiss Army Knife
https://blacktop.github.io/ipsw
MIT License
1.83k stars 144 forks source link

fix: fix slice init length #573

Open cuishuang opened 16 hours ago

cuishuang commented 16 hours ago

The intention here should be to initialize a slice with a capacity of length rather than initializing the length of this slice.

The online demo: https://go.dev/play/p/q1BcVCmvidW