Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

Fixing the NCSA HTTPD 1.3
From: lopatic () dbs informatik uni-muenchen de (Thomas Lopatic)
Date: Tue, 14 Feb 1995 19:54:17 +0100 (MET)


Hi there,

in addition to the posted patches, which fix the problem documented, I'd like
to suggest the following measures to make sure that buffer overflows don't
happen in other parts of the daemon either. Please comment.

1. define HUGE_STRING_LEN and MAX_STRING_LEN to a value of 4000 each
   (file httpd.h)

2. have getline() read only 1000 characters instead of HUGE_STRING_LEN
   (file http_request.c: getline(l,HUGE_STRING_LEN/4,in,timeout) instead
    of getline(l,HUGE_STRING_LEN,in,timeout))

This should at first sight pretty much eliminate the problem. It isn't at all
good style, but it should do until an official patch is ready. Does anyone see
any problems with this?

Greetings,
-Thomas

-- 
Thomas Lopatic                               lopatic () informatik uni-muenchen de



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]