mirror of https://github.com/google/oss-fuzz.git
pyca-cryptography: Fix issue 48484 integer overflow (#8592)
Fix error handling or other false-positive bugs reported for projects issues. - 48484 (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48484)
This commit is contained in:
parent
339988b33b
commit
b23acb4d42
|
@ -26,7 +26,7 @@ def TestInput(input_bytes):
|
|||
try:
|
||||
parameters = dh.generate_parameters(
|
||||
generator=(2 if fdp.ConsumeBool() else 5),
|
||||
key_size=fdp.ConsumeInt(15)
|
||||
key_size=fdp.ConsumeInt(4)
|
||||
)
|
||||
except ValueError as e:
|
||||
if "DH key_size must be at least 512 bits" not in str(e):
|
||||
|
|
Loading…
Reference in New Issue