Fix potential SEGV when dealing with zero-length files.
modified libpkg/pkg_elf.c
@@ -114,7 +114,7 @@ test_depends(struct pkgdb *db, struct pkg *pkg, const char *name)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|