<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>209409</bug_id>
          
          <creation_ts>2008-02-09 03:43 0000</creation_ts>
          <short_desc>games-server/monopd-0.9.3-r1 security patch is broke and off by one</short_desc>
          <delta_ts>2008-02-09 04:30:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jouva@moufette.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jouva@moufette.com</who>
            <bug_when>2008-02-09 03:43:18 0000</bug_when>
            <thetext>The security patch for the commands to the server is incorrect. The first change (from data.substr(2) to data.substr(2,16)) is fine since that&apos;s where the proper data is. The new player function receives the FULL command (.nNickname).

HOWEVER in the processCommands() function, the period is stripped (it&apos;s called with data+1). Therefore when CHANGING your nickname and calling it with data.substr(2,16) .nNickname sets one&apos;s nickname to &quot;ickname&quot;. Likewise, the picture icon command is ALSO broken. The patch should be modified.

Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2008-02-09 04:30:37 0000</bug_when>
            <thetext>yes, upstream changed the patch.  Resync and re-emerge to get the fixed up patch.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>