fix external merge tool: ensure the buffer is null terminated
modified libpkg/pkg_add.c
@@ -116,7 +116,8 @@ merge_with_external_tool(const char *merge_tool, struct pkg_config_file *lcf,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -146,6 +147,7 @@ merge_with_external_tool(const char *merge_tool, struct pkg_config_file *lcf,
|
|
|
|
|
|
| + | |
|
|
|
|
|