summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2024-06-12 10:46:37 -0600
committerAaron Ball <nullspoon@oper.io>2024-06-12 10:46:37 -0600
commit91471076493f87005431dd81c2bf4d0445495ca4 (patch)
treedd0c81882e47d5ca6ea9391157364b9a014f1291 /.gitignore
parent3cc711f5df8151a631090384e4dcf9c244f38093 (diff)
downloadnullprompt-91471076493f87005431dd81c2bf4d0445495ca4.tar.gz
nullprompt-91471076493f87005431dd81c2bf4d0445495ca4.tar.xz
Fix buffer overflow on edgecases with git repo subpaths
Occasionally, a subpath will have just the right number of characters to cause a round-up, which causes a buffer overflow in the ellipt function when copying in the backend half of the string. This was causing overwrite of the branchname char 0 with `\0`, resulting in the branchname output being empty in the PS1.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions

Generated by cgit