Menu

#3 DecodeFactory Infinite Loop

1.0
open
nobody
None
2014-12-19
2014-12-19
Karl Jones
No

Its possible to get caught in an infinite loop in the DecodeFactory::Decode function when readings invalid data. If the header.length value is 0 then the loop will never end.

One possible solution is to validate the length value in the Header::Decode function.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.