avoid accessing memory outside bounds of array
modified libpkg/pkg_elf.c
@@ -130,7 +130,8 @@ add_shlibs_to_pkg(struct pkg *pkg, const char *fpath, const char *name,
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|