OPCFoundation / UA-Java-Legacy

This repository is provided by OPC Foundation as legacy support for an Java version for OPC UA.
https://github.com/OPCFoundation/UA-.NETStandard
Other
354 stars 226 forks source link

Decoders do not validate array lengths in all scenarios #237

Closed jouniaro closed 3 months ago

jouniaro commented 3 months ago

The BinaryDecoder and XmlDecoder don't validate the length of all received array data. This can lead to decoding errors due to OutOfMemory exception.