pmp.rb lines 114-116 perform type conversion without error handling. If a PMP property has type 'int' but contains a non-numeric string (e.g. "abc"), Integer(Float("abc").truncate) will raise a Float domain error or ArgumentError. Similarly, Float("abc") raises an error. There is no rescue clause around the type conversion block.
REPRODUCTION: Set a PMP property typed as 'int' or 'float' to a non-numeric string value, then access it via Fbe.pmp.
IMPACT: Unhandled exception crashes the judge when accessing the malformed PMP property.
pmp.rb lines 114-116 perform type conversion without error handling. If a PMP property has type 'int' but contains a non-numeric string (e.g. "abc"), Integer(Float("abc").truncate) will raise a Float domain error or ArgumentError. Similarly, Float("abc") raises an error. There is no rescue clause around the type conversion block.
REPRODUCTION: Set a PMP property typed as 'int' or 'float' to a non-numeric string value, then access it via Fbe.pmp.
IMPACT: Unhandled exception crashes the judge when accessing the malformed PMP property.