diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-04 04:18:07 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-04 04:18:07 +0100 | 
| commit | a309db1126d08ecd177492a0687b98be1c8ba0cf (patch) | |
| tree | 3eb4a36911d4d217fd34d930af061dfaf91e49f4 | |
| parent | 40657a3c74839652d1ac36844791a0532a5281f8 (diff) | |
Terribly stupid bug in the DoS fix.
| -rw-r--r-- | bitlbee.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -166,7 +166,7 @@ gboolean bitlbee_io_current_client_read( GIOChannel *source, GIOCondition condit  	}   	/* Very naughty, go read the RFCs! >:) */ -	if( strlen( irc->readbuffer ) > 1024 ) +	if( irc->readbuffer && ( strlen( irc->readbuffer ) > 1024 ) )  	{  		log_message( LOGLVL_ERROR, "Maximum line length exceeded." );  		irc_free( irc ); | 
