From 224321c2308a105d83c7787d5b9890156c6f0623 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Fri, 23 Jun 2017 13:10:09 +0200
Subject: [PATCH] generic: busybox: enable sha512sum to workaround segfault
 issue

sha512sum doesn't add much code that is not also used by sha256sum, but the
change of the configuration hides the segfault issue described in:

  https://bugs.lede-project.org/index.php?do=details&task_id=822

While the issue only seemed to affect dhcpv6.script, it would clutter /tmp
with coredumps, eventually leading to OOM.
---
 targets/generic | 1 +
 1 file changed, 1 insertion(+)

diff --git a/targets/generic b/targets/generic
index c39570fea..a717da575 100644
--- a/targets/generic
+++ b/targets/generic
@@ -4,6 +4,7 @@ config 'CONFIG_ALL_NONSHARED=y'
 
 config 'CONFIG_BUSYBOX_CUSTOM=y'
 config 'CONFIG_BUSYBOX_CONFIG_SHA256SUM=y'
+config 'CONFIG_BUSYBOX_CONFIG_SHA512SUM=y'
 config '# CONFIG_BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set'
 
 config 'CONFIG_PACKAGE_ATH_DEBUG=y'
-- 
GitLab