<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><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 href="https://sourceforge.net/p/xsocket/bugs/24/" rel="alternate"/><link href="https://sourceforge.net/p/xsocket/bugs/24/feed.atom" rel="self"/><id>https://sourceforge.net/p/xsocket/bugs/24/</id><updated>2020-11-22T18:13:31.697000Z</updated><subtitle>Recent changes to 24: Possible information leakage from IoSocketDispatcher through an IOException without LOGGER severe control such as LOG.isLoggable(Level.SEVERE)</subtitle><entry><title>#24 Possible information leakage from IoSocketDispatcher through an IOException without LOGGER severe control such as LOG.isLoggable(Level.SEVERE)</title><link href="https://sourceforge.net/p/xsocket/bugs/24/?limit=25#7e4c" rel="alternate"/><published>2020-11-22T18:13:31.697000Z</published><updated>2020-11-22T18:13:31.697000Z</updated><author><name>Xiaoqin Fu</name><uri>https://sourceforge.net/u/xqfu/</uri></author><id>https://sourceforge.netaf48ae59ab485e0f07962d2184a213c4ae8020aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Could I open a PR for it?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Possible information leakage from IoSocketDispatcher through an IOException without LOGGER severe control such as LOG.isLoggable(Level.SEVERE)</title><link href="https://sourceforge.net/p/xsocket/bugs/24/" rel="alternate"/><published>2019-08-03T17:49:34.147000Z</published><updated>2019-08-03T17:49:34.147000Z</updated><author><name>Xiaoqin Fu</name><uri>https://sourceforge.net/u/xqfu/</uri></author><id>https://sourceforge.nete5b13efccdd3d2c28ac58202d3ba0afeb03d5422</id><summary type="html">&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;</summary></entry></feed>