httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Skolnick <>
Subject errors
Date Sun, 21 Apr 1996 06:01:30 GMT I turned on a paranoid run time checker...

Read from uninitialized (rui):
Attempting to read 1 byte at address 0x6b75d
    which is 93 bytes into a heap block of size 1072 bytes at 0x6b700
This block was allocated from:
	[1] _nss_XbyY_buf_alloc() at 0xef61bc28 
	[2] _getpwnam() at 0xef601a38 
	[3] uname2id() at line 898 in "util.c"
	[4] set_user() at line 628 in "http_core.c"
	[5] invoke_cmd() at line 376 in "http_config.c"
	[6] handle_command() at line 486 in "http_config.c"
	[7] srm_command_loop() at line 495 in "http_config.c"
	[8] process_resource_config() at line 559 in "http_config.c"

Current function is pstrcat

Looks like this pops up many times, same thing...

I also see sometimes the offendign function is pstrdup().

Now if data was *just* right, these copies could be falling off the end of
some buffer and corrupting memory in some cases.  I'll be looking at this
a little more on sunday, but this may be a hint at the cause of the 
hostname truncation....


Cliff Skolnick                            

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759

View raw message