Armenian Knowledge Base  

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

Reply
 
LinkBack Thread Tools
Old 18.06.2002, 23:36   #1
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 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;
__________________
Праздник к нам приходит...

|^^^^^^^^^'''^\| ||\__
| ВОДКА-ВОДКА | ||','''|'''''''\_____,_
| _..... _ | ||_ _|'__|_____||.........| |
'(@)'(@)'(@)''''''''''''''''''''''*|(@)""""|(@)*
Reply With Quote
Old 19.06.2002, 04: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
Downloads: 4
Uploads: 0
Reputation: 146 | 4
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 и зачем люди используют знаковые типы для описания размера? ))))
Reply With Quote
Old 02.07.2002, 12:13   #3
Младенец
 
Join Date: 07 2002
Location: armenia
Posts: 9
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

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

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 01:26.


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