This patch increases the maximum path length of the filename
containing the cipher key for the kernel from 128 to 256 characters.

Signed-off-by: Hugo Cornelis <[email protected]>
---

 tools/image-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/image-host.c b/tools/image-host.c
index 3719f36117..b0012a714d 100644
--- a/tools/image-host.c
+++ b/tools/image-host.c
@@ -376,7 +376,7 @@ static int fit_image_setup_cipher(struct image_cipher_info 
*info,
                                  int noffset)
 {
        char *algo_name;
-       char filename[128];
+       char filename[256];
        int ret = -1;
        int snprintf_return;
 
-- 
2.34.1

Reply via email to