mirror of
https://github.com/osmarks/ngircd.git
synced 2025-11-03 07:22:59 +00:00
Compare commits
5 Commits
rel-0-10-3
...
branch-0-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc3d1f1761 | ||
|
|
10cc60d1c2 | ||
|
|
928404860b | ||
|
|
26c65a11cf | ||
|
|
d64ab2a36d |
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
ngIRCd - Next Generation IRC Server
|
ngIRCd - Next Generation IRC Server
|
||||||
|
|
||||||
(c)2001-2007 Alexander Barton,
|
(c)2001-2008 Alexander Barton,
|
||||||
alex@barton.de, http://www.barton.de/
|
alex@barton.de, http://www.barton.de/
|
||||||
|
|
||||||
ngIRCd is free software and published under the
|
ngIRCd is free software and published under the
|
||||||
@@ -9,6 +9,10 @@
|
|||||||
|
|
||||||
-- ChangeLog --
|
-- ChangeLog --
|
||||||
|
|
||||||
|
ngIRCd 0.10.4 (2008-01-07)
|
||||||
|
|
||||||
|
- SECURITY: IRC_PART could reference invalid memory, causing
|
||||||
|
ngircd to crash.
|
||||||
|
|
||||||
ngIRCd 0.10.3 (2007-07-31)
|
ngIRCd 0.10.3 (2007-07-31)
|
||||||
|
|
||||||
@@ -694,4 +698,4 @@ ngIRCd 0.0.1, 31.12.2001
|
|||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
$Id: ChangeLog,v 1.302.2.19 2007/07/31 19:33:51 alex Exp $
|
$Id: ChangeLog,v 1.302.2.21 2008/01/07 20:57:39 alex Exp $
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# ngIRCd -- The Next Generation IRC Daemon
|
# ngIRCd -- The Next Generation IRC Daemon
|
||||||
# Copyright (c)2001-2007 Alexander Barton <alex@barton.de>
|
# Copyright (c)2001-2008 Alexander Barton <alex@barton.de>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -8,13 +8,13 @@
|
|||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
# Please read the file COPYING, README and AUTHORS for more information.
|
# Please read the file COPYING, README and AUTHORS for more information.
|
||||||
#
|
#
|
||||||
# $Id: configure.in,v 1.118.2.13 2007/07/31 19:07:59 alex Exp $
|
# $Id: configure.in,v 1.118.2.14 2008/01/07 20:57:39 alex Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
# -- Initialisation --
|
# -- Initialisation --
|
||||||
|
|
||||||
AC_PREREQ(2.50)
|
AC_PREREQ(2.50)
|
||||||
AC_INIT(ngircd, 0.10.3)
|
AC_INIT(ngircd, 0.10.4)
|
||||||
AC_CONFIG_SRCDIR(src/ngircd/ngircd.c)
|
AC_CONFIG_SRCDIR(src/ngircd/ngircd.c)
|
||||||
AC_CANONICAL_TARGET
|
AC_CANONICAL_TARGET
|
||||||
AM_INIT_AUTOMAKE(1.6)
|
AM_INIT_AUTOMAKE(1.6)
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
ngircd (0.10.4-0ab1) unstable; urgency=high
|
||||||
|
|
||||||
|
* New "upstream" release: 0.10.4 - fixing a security bug.
|
||||||
|
|
||||||
|
-- Alexander Barton <alex@barton.de> Mon, 7 Jan 2008 22:04:44 +0100
|
||||||
|
|
||||||
ngircd (0.10.3-0ab1) unstable; urgency=high
|
ngircd (0.10.3-0ab1) unstable; urgency=high
|
||||||
|
|
||||||
* New "upstream" release: 0.10.3 - fixing a security bug.
|
* New "upstream" release: 0.10.3 - fixing a security bug.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
%define name ngircd
|
%define name ngircd
|
||||||
%define version 0.10.3
|
%define version 0.10.4
|
||||||
%define release 1
|
%define release 1
|
||||||
%define prefix %{_prefix}
|
%define prefix %{_prefix}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: channel.c,v 1.56.2.3 2007/04/03 22:08:52 fw Exp $";
|
static char UNUSED id[] = "$Id: channel.c,v 1.56.2.4 2007/07/31 20:48:15 alex Exp $";
|
||||||
|
|
||||||
#include "imp.h"
|
#include "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@@ -602,7 +602,7 @@ Channel_IsMemberOf( CHANNEL *Chan, CLIENT *Client )
|
|||||||
|
|
||||||
assert( Chan != NULL );
|
assert( Chan != NULL );
|
||||||
assert( Client != NULL );
|
assert( Client != NULL );
|
||||||
return Get_Cl2Chan(Chan, Client);
|
return Get_Cl2Chan(Chan, Client) != NULL;
|
||||||
} /* Channel_IsMemberOf */
|
} /* Channel_IsMemberOf */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: irc-channel.c,v 1.35.2.4 2007/07/31 18:54:30 alex Exp $";
|
static char UNUSED id[] = "$Id: irc-channel.c,v 1.35.2.5 2008/01/07 11:41:44 fw Exp $";
|
||||||
|
|
||||||
#include "imp.h"
|
#include "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@@ -270,7 +270,9 @@ IRC_PART( CLIENT *Client, REQUEST *Req )
|
|||||||
assert( Req != NULL );
|
assert( Req != NULL );
|
||||||
|
|
||||||
/* Falsche Anzahl Parameter? */
|
/* Falsche Anzahl Parameter? */
|
||||||
if(( Req->argc > 2 )) return IRC_WriteStrClient( Client, ERR_NEEDMOREPARAMS_MSG, Client_ID( Client ), Req->command );
|
if (Req->argc < 1 || Req->argc > 2)
|
||||||
|
return IRC_WriteStrClient(Client, ERR_NEEDMOREPARAMS_MSG,
|
||||||
|
Client_ID(Client), Req->command);
|
||||||
|
|
||||||
/* Wer ist der Absender? */
|
/* Wer ist der Absender? */
|
||||||
if( Client_Type( Client ) == CLIENT_SERVER ) target = Client_Search( Req->prefix );
|
if( Client_Type( Client ) == CLIENT_SERVER ) target = Client_Search( Req->prefix );
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: parse.c,v 1.67 2006/04/23 10:37:27 fw Exp $";
|
static char UNUSED id[] = "$Id: parse.c,v 1.67.2.1 2008/02/05 13:15:05 fw Exp $";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
@@ -348,7 +348,7 @@ Handle_Request( CONN_ID Idx, REQUEST *Req )
|
|||||||
char str[LINE_LEN];
|
char str[LINE_LEN];
|
||||||
bool result;
|
bool result;
|
||||||
COMMAND *cmd;
|
COMMAND *cmd;
|
||||||
int i;
|
int i, client_type;
|
||||||
|
|
||||||
assert( Idx >= 0 );
|
assert( Idx >= 0 );
|
||||||
assert( Req != NULL );
|
assert( Req != NULL );
|
||||||
@@ -406,6 +406,7 @@ Handle_Request( CONN_ID Idx, REQUEST *Req )
|
|||||||
}
|
}
|
||||||
|
|
||||||
cmd = My_Commands;
|
cmd = My_Commands;
|
||||||
|
client_type = Client_Type( client );
|
||||||
while( cmd->name )
|
while( cmd->name )
|
||||||
{
|
{
|
||||||
/* Befehl suchen */
|
/* Befehl suchen */
|
||||||
@@ -414,7 +415,7 @@ Handle_Request( CONN_ID Idx, REQUEST *Req )
|
|||||||
cmd++; continue;
|
cmd++; continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( Client_Type( client ) & cmd->type )
|
if( client_type & cmd->type )
|
||||||
{
|
{
|
||||||
/* Command is allowed for this client: call it and count produced bytes */
|
/* Command is allowed for this client: call it and count produced bytes */
|
||||||
Conn_ResetWCounter( );
|
Conn_ResetWCounter( );
|
||||||
@@ -422,7 +423,7 @@ Handle_Request( CONN_ID Idx, REQUEST *Req )
|
|||||||
cmd->bytes += Conn_WCounter( );
|
cmd->bytes += Conn_WCounter( );
|
||||||
|
|
||||||
/* Adjust counters */
|
/* Adjust counters */
|
||||||
if( Client_Type( client ) != CLIENT_SERVER ) cmd->lcount++;
|
if( client_type != CLIENT_SERVER ) cmd->lcount++;
|
||||||
else cmd->rcount++;
|
else cmd->rcount++;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user