Square789 / tf2_dem_py

TF2 demo parser for python, glued together using C.
MIT License
9 stars 0 forks source link

Add error check on event entry types [message/gameevents.c::read_game_event_definition] #7

Closed Square789 closed 3 years ago

Square789 commented 3 years ago

Malformed data / anything above 7 will probably cause infinite loops and other horrible malfunctions.

aless-owo commented 3 years ago

Hey Bro

Square789 commented 3 years ago

Yo aless I noticed the entry types can not be more than 7 since they're only made up of 3 bit so uuuuh yeah Epic fail !, one could argue

aless-owo commented 3 years ago

Glad Yu found the problem! I, however, must humbly refute your statement, since after careful and elongated research I clearly can confirm it was not an epic fail. Happens to the best of us.