Skip to content

Commit

Permalink
fix short option string to be nil terminated
Browse files Browse the repository at this point in the history
  • Loading branch information
fabled committed Nov 2, 2018
1 parent b06e3b9 commit c3fe426
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apk.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ int main(int argc, char **argv)
*(sopt++) = ':';
}
}
*(sopt++) = 0;

init_openssl();
setup_automatic_flags();
Expand Down

0 comments on commit c3fe426

Please sign in to comment.