<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:54:26 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-1433] UDP Query Protocol does not properly unpack/pack integers, session IDs are not returned correctly</title>
                <link>https://bugs.mojang.com/browse/MC-1433</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;The query protocol in the Minecraft server has an I/O bug that is dependent upon the default charset used in the host system. Currently, integers are unpacked via code equivalent to the following: &lt;a href=&quot;http://pastebin.com/raw.php?i=pNRJgzyB&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/raw.php?i=pNRJgzyB&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is unreliable, and will not properly unpack the integer into bytes. As a result, the Minecraft server will not always send back the proper session ID. Session IDs are sent back properly for the first 128 numbers on most charsets, but after that point the bug occurs.&lt;/p&gt;

&lt;p&gt;We discovered this bug while writing software that polls information from over 20,000 Minecraft servers simultaneously for our website, Minestatus. It sure caused us quite a headache! We have implemented our own workaround that allows us to properly update all of our servers by generating session IDs that will come back correctly, but it was not simple. We recommend the following methods be used instead to unpack/pack integers/bytes: &lt;a href=&quot;http://pastebin.com/raw.php?i=eeX59pHz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/raw.php?i=eeX59pHz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These two methods will guarantee that all session IDs will be unpacked and packed properly.&lt;br/&gt;
Thank you for your time.&lt;/p&gt;</description>
                <environment>All environments.</environment>
        <key id="12763">MC-1433</key>
            <summary>UDP Query Protocol does not properly unpack/pack integers, session IDs are not returned correctly</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="blakeman8192">Blake Beaupain</reporter>
                        <labels>
                            <label>query</label>
                            <label>server</label>
                    </labels>
                <created>Wed, 31 Oct 2012 10:08:43 +0100</created>
                <updated>Sat, 9 Feb 2013 03:58:39 +0100</updated>
                            <resolved>Tue, 5 Feb 2013 21:30:00 +0100</resolved>
                                    <version>Minecraft 1.4.2</version>
                                    <fixVersion>Minecraft 1.4.7</fixVersion>
                                                        <votes>2</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="43816" author="bljat" created="Tue, 5 Feb 2013 21:30:00 +0100"  >&lt;p&gt;Thanks for the update.&lt;/p&gt;</comment>
                            <comment id="43815" author="blakeman8192" created="Tue, 5 Feb 2013 21:29:22 +0100"  >&lt;p&gt;I am no longer able to reproduce the problem, seems to be resolved.&lt;/p&gt;</comment>
                            <comment id="43602" author="bljat" created="Tue, 5 Feb 2013 01:17:59 +0100"  >&lt;p&gt;Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0mppr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>