Some repositories couldn't be updated, please check application logs for details.
BadCredentialsException: 401 {"message": "Bad credentials", "documentation_url": "https://docs.github.com/rest", "status": "401"}

aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msg.c b/src/msg.c
index c37cfb5..5a7e165 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -129,7 +129,7 @@ static int argv_unpack(struct msg *msg, const char *src)
for (int i = 0; i < msg->argc; ++i) {
size_t len = strlen(src);
- msg->argv[i] = malloc(len);
+ msg->argv[i] = malloc(len + 1);
if (!msg->argv[i]) {
print_errno("malloc");
goto free;