william-os4y / fapws3

Fast Asynchronous Python Web Server (based on libev)
GNU General Public License v2.0
341 stars 38 forks source link

strcpy cause a crash #33

Closed william-os4y closed 12 years ago

william-os4y commented 12 years ago

when doing strcpy we must assure we are staying within the size defined by MAXHEADER. Either add a test, either remove the limit. This problem has been identified by Alex V. (cfr mailing list)

william-os4y commented 12 years ago

issue is closed (merge re-MAXHEADER branch). Response_header is now based on pointer ... no more any strcpy :-) This means Fapws does not limit the size of the header.