mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-20 00:01:10 +00:00
Fix missing NUL termination of buffer
This commit is contained in:
parent
991a56c704
commit
54e29b9380
@ -172,6 +172,8 @@ int git_buf_puts_escaped(
|
||||
}
|
||||
}
|
||||
|
||||
buf->ptr[buf->size] = '\0';
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user