ch is passed through ensure_abstract_pkg_by_name(),
abstract_pkg_fetch_by_name(), hash_table_get(), hash_index(), and
finally djb2_hash() which dereferences the NULL pointer.
Signed-off-by: Patrick McDermott
---
libopkg/pkg_depends.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libopkg/pkg_depends.c b/libopkg
Signed-off-by: Patrick McDermott
---
libbb/gzip.h | 2 ++
libopkg/pkg_hash.c | 27 ---
2 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/libbb/gzip.h b/libbb/gzip.h
index 3a61a1d..28e3a50 100644
--- a/libbb/gzip.h
+++ b/libbb/gzip.h
@@ -22,6 +22,8
Signed-off-by: Patrick McDermott
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 26230b3..f57fe10 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,6 +7,7 @@ INCLUDE(TestBigEndian)
SET(HOST_CPU "" CA