HBSD: Fix potential integer underflow
modified libpkg/pkg_add.c
@@ -144,6 +144,8 @@ merge_with_external_tool(const char *merge_tool, struct pkg_config_file *lcf,
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -161,17 +163,32 @@ merge_with_external_tool(const char *merge_tool, struct pkg_config_file *lcf,
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|