ports/66352: Translation bug in licq daemon version 1.2.7.

Andriy N. Gritsenko andrej at lucky.net
Fri May 7 11:00:45 UTC 2004


>Number:         66352
>Category:       ports
>Synopsis:       Translation bug in licq daemon version 1.2.7.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 07 04:00:43 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andrej N. Gritsenko
>Release:        FreeBSD 4.8-RELEASE-p15 i386
>Organization:
Lucky Net Ltd.
>Environment:
System: FreeBSD klotik.lucky.net 4.8-RELEASE-p15 FreeBSD 4.8-RELEASE-p15 #2: Wed Feb 25 14:00:59 EET 2004 zorick at klotik.lucky.net:/usr/src.R48/sys/compile/klotik i386


>Description:
	If configuration parameter Translation isn't 'none' then when you
	receive some packets their content is translated twise (from some
	charset to another one) and gets unreadable.

>How-To-Repeat:
	Set Translation parameter in licq.conf to RUSSIAN_WIN. Start Licq.
	Set charsets to KOI8-R. Login and go into Invisible mode then talk
	with someone via server. Voila.

>Fix:

	The patch removes extra translation from process message.

--- src/icqd-srv.cpp.orig	Wed Jun 25 08:40:16 2003
+++ src/icqd-srv.cpp	Fri May  7 13:07:09 2004
@@ -2145,7 +2145,7 @@ void CICQDaemon::ProcessMessageFam(CBuff
       char *szMsg = gTranslator.RNToN(message);
       delete [] message;
 
-      gTranslator.ServerToClient(szMsg);
+//      gTranslator.ServerToClient(szMsg);
 
       bool bNewUser = false;
       ICQUser *u = gUserManager.FetchUser(nUin, LOCK_W);
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list