mirror of https://github.com/google/oss-fuzz.git
psycopg2: broaden exceptions (#8018)
This commit is contained in:
parent
5405d3b6e0
commit
aabda0f17f
|
@ -31,8 +31,14 @@ def TestInput(data):
|
|||
q1.join([i1, i2])
|
||||
query.format(q1, i3, i4)
|
||||
comp = sql.Composed([query, i5])
|
||||
except (TypeError, ValueError) as e:
|
||||
pass
|
||||
except (
|
||||
AttributeError,
|
||||
TypeError,
|
||||
ValueError,
|
||||
KeyError,
|
||||
IndexError
|
||||
) as e:
|
||||
pass
|
||||
|
||||
def main():
|
||||
atheris.instrument_all()
|
||||
|
|
Loading…
Reference in New Issue