F-4229 - Reject negative Size in Ada AES_Set_Cbc_Encrypt wrapper

This commit is contained in:
aidan garske
2026-06-25 14:45:31 -07:00
parent 869e732b5f
commit bd18a9bfcc
+4
View File
@@ -1493,6 +1493,10 @@ package body WolfSSL is
Size : Integer;
Result : out Integer) is
begin
if Size < 0 then
Result := Exception_Error;
return;
end if;
declare
R : int;
begin