Go Back   Armenian Knowledge Base > Technical sections > Software > Software Security

Reply
 
Thread Tools

Переполнение буфера в Apache
Old 18.06.2002, 22:36   #1
VX
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Rep Power: 0
Post Переполнение буфера в Apache

S tyajotsy v dushe :
V apache nahsli problemu swazannu s "chunked" POST zaprosami.
porobnosti
Versions: Apache 1.3 all versions including 1.3.24, Apache 2 all versions
up to 2.0.39

Solution:
v http_protocol.c zmenit'
- len_to_read = (r->remaining > bufsiz) ? bufsiz : r->remaining;
+ len_to_read = (r->remaining > (unsigned int)bufsiz) ? bufsiz : r->
remaining;
__________________
Праздник к нам приходит...

|^^^^^^^^^'''^\| ||\__
| ВОДКА-ВОДКА | ||','''|'''''''\_____,_
| _..... _ | ||_ _|'__|_____||.........| |
'(@)'(@)'(@)''''''''''''''''''''''*|(@)""""|(@)*

Old 19.06.2002, 03:04   #2
The Reloaded
 
Aram Hambardzumyan's Avatar
 
Join Date: 01 2002
Location: behind the flesh and gelatinе of soft dull eyes
Posts: 3,387
Rep Power: 5
Post

Quote:
Originally posted by VX:
Solution:
v http_protocol.c zmenit'
- len_to_read = (r->remaining > bufsiz) ? bufsiz : r->remaining;
+ len_to_read = (r->remaining > (unsigned int)bufsiz) ? bufsiz : r->
remaining;
hehe и зачем люди используют знаковые типы для описания размера? ))))

Old 02.07.2002, 11:13   #3
Младенец
 
Join Date: 07 2002
Location: armenia
Posts: 9
Rep Power: 0
Post

Interestnie temi mistor VX(D) ,
a sobstvenno,o kakix buferax obmena idyot rech
mistor VMM32.VXD
Reply




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 19:30.
Top

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.