List Info

Thread: ****** Re: Httrack crashed ; please see crash dump




****** Re: Httrack crashed ; please see crash dump
user name
2006-07-31 06:39:44
Function call from httrack\src\htsback.c  2724 was
as follwing: It is passing null pointer to fspc.  Got it.

fspc(NULL,cache->log,"warning");
fprintf(cache->log,"Incorrect length
("LLintP"!="LLintP" expected) for
%s%s"LF,(LLint)back[i].r.size,(LLint)back[i].r.totalsi
ze,back[i].url_adr,back[i].url_fil);

So modified code as follows as seems to be working fine.
)

Hope that there are NO more mines of this kind.
Need to run this regorously and check this out.

HTS_INLINE int fspc(httrackp *opt,FILE* fp,const char* type)
{
	////////////////////////////////////
	// code added by Rajesh to solve crash dump
	// check for null pointer
	// ## Start
	/////////////////////////

  //fspc_strc* strc = &opt->state.fspc;

	fspc_strc* strc;
	if (opt == NULL)
	{
		return 0;
	}

	strc = &opt->state.fspc;


-- 
HTTrack Website Copier mailing-list
Please post replies to: http://forum.httrack.com
Unsubscribe: mailto:ml_requesthttrack.com?subject=unsubscribe
Troubles: mailto:postmasterhttrack.com

	
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )