deathowl / ddlm

deathowl's dummy login manager
GNU General Public License v3.0
40 stars 11 forks source link

off-by-one error causes panic when less than two session entries are present #12

Open 1e1001 opened 1 month ago

1e1001 commented 1 month ago

if there is zero or one session file then the default target index of 1 (not 0) will cause the targets list to be indexed out-of-bounds, causing a panic