<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libiptc.c: missing memset causes that the garbage is read"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1331">1331</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libiptc.c: missing memset causes that the garbage is read
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>SuSE Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>netfilter-buglog@lists.netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kstreitova@suse.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=562" name="attach_562" title="iptables-1.8.2-dont_read_garbage.patch">attachment 562</a> <a href="attachment.cgi?id=562&action=edit" title="iptables-1.8.2-dont_read_garbage.patch">[details]</a></span>
iptables-1.8.2-dont_read_garbage.patch

Hello,

In SUSE we bumped into a bug where iptables doesn't work with our
kernel-default-base package that was missing bpfilter module:

<a href="https://bugzilla.suse.com/show_bug.cgi?id=1106751">https://bugzilla.suse.com/show_bug.cgi?id=1106751</a>

As a part of this bug, Fabian Vogt discovered that this was actually handled
wrongly also in iptables itself as a missing memset(&info, 0, sizeof(info)); in
libiptc.c caused it to read garbage.

He proposed a patch that I'm attaching.

For more information please read the mentioned bug (mainly comments 0, 1, 6).

Thanks!</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>