From 02e0996eb4293c8edd9aea807f9282cdb5c6d9f3 Mon Sep 17 00:00:00 2001 From: kit rio Date: Thu, 11 Apr 2024 17:46:58 +0900 Subject: [PATCH] =?UTF-8?q?kisa=20seed=5Fcbc=20undefined=20=EB=B3=80?= =?UTF-8?q?=EC=88=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SEED_CBC_Decrypt 함수 return null 전에 초기화 --- plugin/inicert/libs/KISA_SEED_CBC.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/inicert/libs/KISA_SEED_CBC.php b/plugin/inicert/libs/KISA_SEED_CBC.php index d45374d00..4e5d7cb1d 100644 --- a/plugin/inicert/libs/KISA_SEED_CBC.php +++ b/plugin/inicert/libs/KISA_SEED_CBC.php @@ -782,6 +782,7 @@ class KISA_SEED_CBC { $pbszCipherText = array_pad(array(), $message_length, 0); Common::arraycopy_system($message, $message_offset, $pbszCipherText, 0, $message_length); $nCipherTextLen = count($pbszCipherText); + $result = null; if ($nCipherTextLen % KISA_SEED_CBC::BLOCK_SIZE_SEED) { return $result;