tempesta-tech / tempesta

All-in-one solution for high performance web content delivery and advanced protection against DDoS and web attacks
https://tempesta-tech.com/
GNU General Public License v2.0
623 stars 103 forks source link

Do not access out of bound memory #2287

Closed EvgeniiMekhanik closed 4 days ago

EvgeniiMekhanik commented 6 days ago

We should not set c = *(p + __fsm_sz); if p + __fsm_sz >= len because in this case p + __fsm_sz is out of bound.

Closes #2282