Closed nemanja-boric-sociomantic closed 6 years ago
Previously, no check for the array length was performed. This allowed for badly behaving remote parties to perform DOS attack asking for unreasonably large arrays to be allocated.
This limits the maximum array size to 10MB.
Closing in favor of https://github.com/sociomantic-tsunami/swarm/pull/343
Previously, no check for the array length was performed. This allowed for badly behaving remote parties to perform DOS attack asking for unreasonably large arrays to be allocated.
This limits the maximum array size to 10MB.