Login
User Name:

Password:



Register

Forgot your password?
do_advance
Jun 27, 2026 10:32 am
By Remcon
Time spamming LOP1.6
Jun 17, 2026 4:03 pm
By Remcon
A Bash Startup Script
Feb 7, 2026 3:49 pm
By eldhamud
Force Skills
Jan 1, 2026 3:58 pm
By Elwood
Overland with Bitmaps
Jul 4, 2025 11:57 pm
By Samson
SillyMUD 1.2a
Author: J. Brothers, J. Sievert, et al
Submitted by: Samson
SillyMUD 1.1b
Author: J. Brothers, J. Sievert, et al
Submitted by: Samson
SWFotEFUSS 1.5.3
Author: Various
Submitted by: Samson
SWRFUSS 1.4.3
Author: Various
Submitted by: Samson
SmaugFUSS 1.9.8
Author: Various
Submitted by: Samson
Users Online
Anthropic, Baiduspider, Sogou, Bing, DuckDuckGo

Members: 0
Guests: 118
Stats
Files
Topics
Posts
Members
Newest Member
512
3,813
19,727
596
BernadineK

» SmaugMuds » Bugfix Lists » SmaugFUSS Bugfix List » [Bug] Freedom Client sometime...
Forum Rules | Mark all | Recent Posts

[Bug] Freedom Client sometimes fails to find socials.
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Feb 4, 2010 5:03 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
Off the Edge of the Map
GroupAdministrators
Posts1,199
JoinedMar 21, 2006

 
Bug: Freedom Client sometimes fails to find socials.
Danger: Low - Only an issue if you use IMC.
Found by: Kayle
Fixed by: Kayle

---

imc.c, imc_find_social
Find:
   // lower-case the social name before asking the MUD
   static char lcSocName[LGST];
   for (int i = 0; i < LGST && sname[i] != '\0'; i++) {
       lcSocName[i] = tolower(sname[i]);
   }

Replace with:
   // lower-case the social name before asking the MUD
   static char lcSocName[LGST];
   for (int i = 0; i < LGST; i++) {
      if( sname[i] != '\0' )
         lcSocName[i] = tolower(sname[i]);
      else
         lcSocName[i] = '\0';
   }


What happens is if you use a social with a long name like, 'marshmallow', and then try and use one like 'snicker', it's not nulling the end and so you end up with 'snickerllow'. Which, typically isn't a social.

Pages:<< prev 1 next >>