<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 24: Possible information leakage from IoSocketDispatcher through an IOException without LOGGER severe control such as LOG.isLoggable(Level.SEVERE)</title><link>https://sourceforge.net/p/xsocket/bugs/24/</link><description>Recent changes to 24: Possible information leakage from IoSocketDispatcher through an IOException without LOGGER severe control such as LOG.isLoggable(Level.SEVERE)</description><atom:link href="https://sourceforge.net/p/xsocket/bugs/24/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 22 Nov 2020 18:13:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xsocket/bugs/24/feed.rss" rel="self" type="application/rss+xml"/><item><title>#24 Possible information leakage from IoSocketDispatcher through an IOException without LOGGER severe control such as LOG.isLoggable(Level.SEVERE)</title><link>https://sourceforge.net/p/xsocket/bugs/24/?limit=25#7e4c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Could I open a PR for it?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Xiaoqin Fu</dc:creator><pubDate>Sun, 22 Nov 2020 18:13:31 -0000</pubDate><guid>https://sourceforge.netaf48ae59ab485e0f07962d2184a213c4ae8020aa</guid></item><item><title>Possible information leakage from IoSocketDispatcher through an IOException without LOGGER severe control such as LOG.isLoggable(Level.SEVERE)</title><link>https://sourceforge.net/p/xsocket/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In org.xsocket.connection.IoSocketDispatcher, &lt;br/&gt;
    public IoSocketDispatcher(AbstractMemoryManager memoryManager, String name)  {&lt;br/&gt;
        ......&lt;br/&gt;
        try {&lt;br/&gt;
            selector = Selector.open();&lt;br/&gt;
        } catch (IOException ioe) {&lt;br/&gt;
            String text = "exception occured while opening selector. Reason: " + ioe.toString();&lt;br/&gt;
            LOG.isLoggable(Level.SEVERE)&lt;br/&gt;
            LOG.severe(text);&lt;br/&gt;
            throw new RuntimeException(text, ioe);&lt;br/&gt;
        }&lt;br/&gt;
        ......&lt;br/&gt;
    }&lt;br/&gt;
Sensitive information about the selector may be leaked. The LOG.isLoggable(Level.SEVERE) conditional statement should be added&lt;br/&gt;
        public IoSocketDispatcher(AbstractMemoryManager memoryManager, String name)  {&lt;br/&gt;
        ......&lt;br/&gt;
        try {&lt;br/&gt;
            selector = Selector.open();&lt;br/&gt;
        } catch (IOException ioe) {&lt;br/&gt;
            String text = "exception occured while opening selector. Reason: " + ioe.toString();&lt;br/&gt;
            if (LOG.isLoggable(Level.SEVERE))&lt;br/&gt;
                LOG.severe(text);&lt;br/&gt;
            throw new RuntimeException(text, ioe);&lt;br/&gt;
        }&lt;br/&gt;
        ......&lt;br/&gt;
    }&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Xiaoqin Fu</dc:creator><pubDate>Sat, 03 Aug 2019 17:49:34 -0000</pubDate><guid>https://sourceforge.nete5b13efccdd3d2c28ac58202d3ba0afeb03d5422</guid></item></channel></rss>