builtin-branch: use strbuf
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | builtin-branch: use strbuf in delete_branches()builtin-branch.c | +4 | 0 replies | |
| 2/3 | builtin-branch: use strbuf in fill_tracking_info()builtin-branch.c | +8 | 0 replies | |
| 3/3 | builtin-branch: use strbuf in rename_branch()builtin-branch.c | +21 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] builtin-branch: use strbuf
These 3 patches do what's in the subject: use the strbuf API instead of snprintf() / sprintf().
The current risk of writing unallocated memory is low, I think, but still, the return value of these functions were not checked at several places.
Miklos Vajna (3):
builtin-branch: use strbuf in delete_branches()
builtin-branch: use strbuf in fill_tracking_info()
builtin-branch: use strbuf in rename_branch()
builtin-branch.c | 65 +++++++++++++++++++++++++++-------------------------- 1 files changed, 33 insertions(+), 32 deletions(-)