<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/lib/socket/interfaces.c, branch talloc-2.1.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>lib/socket/interfaces: Fix some uninitialied bytes.</title>
<updated>2016-03-12T05:24:24+00:00</updated>
<author>
<name>Günther Deschner</name>
<email>gd@samba.org</email>
</author>
<published>2016-03-02T17:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2e2f81134c86ef3146781d62d9f561f496b74ee2'/>
<id>2e2f81134c86ef3146781d62d9f561f496b74ee2</id>
<content type='text'>
Valgrind reports the following:

==26599== Syscall param ioctl(SIOCETHTOOL) points to uninitialised byte(s)
==26599==    at 0x7014707: ioctl (in /usr/lib64/libc-2.22.so)
==26599==    by 0x79D1585: query_iface_speed_from_name (interfaces.c:152)
==26599==    by 0x79D1BBA: _get_interfaces (interfaces.c:277)
==26599==    by 0x79D1E80: get_interfaces (interfaces.c:368)
==26599==    by 0x508A7E3: load_interfaces (interface.c:612)
==26599==    by 0x150B30: main (net.c:963)
==26599==  Address 0xffefff0d8 is on thread 1's stack
==26599==  in frame #1, created by query_iface_speed_from_name
(interfaces.c:130)
==26599==
==26599== Syscall param ioctl(SIOCETHTOOL) points to uninitialised byte(s)
==26599==    at 0x7014707: ioctl (in /usr/lib64/libc-2.22.so)
==26599==    by 0x79D15CC: query_iface_speed_from_name (interfaces.c:164)
==26599==    by 0x79D1BBA: _get_interfaces (interfaces.c:277)
==26599==    by 0x79D1E80: get_interfaces (interfaces.c:368)
==26599==    by 0x508A7E3: load_interfaces (interface.c:612)
==26599==    by 0x150B30: main (net.c:963)
==26599==  Address 0xffefff0d8 is on thread 1's stack
==26599==  in frame #1, created by query_iface_speed_from_name
(interfaces.c:130)

Guenther

Signed-off-by: Guenther Deschner &lt;gd@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Valgrind reports the following:

==26599== Syscall param ioctl(SIOCETHTOOL) points to uninitialised byte(s)
==26599==    at 0x7014707: ioctl (in /usr/lib64/libc-2.22.so)
==26599==    by 0x79D1585: query_iface_speed_from_name (interfaces.c:152)
==26599==    by 0x79D1BBA: _get_interfaces (interfaces.c:277)
==26599==    by 0x79D1E80: get_interfaces (interfaces.c:368)
==26599==    by 0x508A7E3: load_interfaces (interface.c:612)
==26599==    by 0x150B30: main (net.c:963)
==26599==  Address 0xffefff0d8 is on thread 1's stack
==26599==  in frame #1, created by query_iface_speed_from_name
(interfaces.c:130)
==26599==
==26599== Syscall param ioctl(SIOCETHTOOL) points to uninitialised byte(s)
==26599==    at 0x7014707: ioctl (in /usr/lib64/libc-2.22.so)
==26599==    by 0x79D15CC: query_iface_speed_from_name (interfaces.c:164)
==26599==    by 0x79D1BBA: _get_interfaces (interfaces.c:277)
==26599==    by 0x79D1E80: get_interfaces (interfaces.c:368)
==26599==    by 0x508A7E3: load_interfaces (interface.c:612)
==26599==    by 0x150B30: main (net.c:963)
==26599==  Address 0xffefff0d8 is on thread 1's stack
==26599==  in frame #1, created by query_iface_speed_from_name
(interfaces.c:130)

Guenther

Signed-off-by: Guenther Deschner &lt;gd@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/socket: Fix improper use of default interface speed</title>
<updated>2016-02-13T15:22:22+00:00</updated>
<author>
<name>Anoop C S</name>
<email>anoopcs@redhat.com</email>
</author>
<published>2016-02-11T09:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=9fb98e3e056f059e2a5fcdd54a6a0d60ecdb01b7'/>
<id>9fb98e3e056f059e2a5fcdd54a6a0d60ecdb01b7</id>
<content type='text'>
_get_interfaces() function from interfaces.c uses if_speed
variable to store interface speed and is initialized with a
default value at start. But if_speed populated via one
iteration for a specific IP address will be treated as the
default value for next iteration which is wrong. Therefore
change is to move the initialization cum declaration of
if_speed inside iteration of IP addresses loop.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11734

Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User(master): Michael Adam &lt;obnox@samba.org&gt;
Autobuild-Date(master): Sat Feb 13 16:22:22 CET 2016 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_get_interfaces() function from interfaces.c uses if_speed
variable to store interface speed and is initialized with a
default value at start. But if_speed populated via one
iteration for a specific IP address will be treated as the
default value for next iteration which is wrong. Therefore
change is to move the initialization cum declaration of
if_speed inside iteration of IP addresses loop.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11734

Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User(master): Michael Adam &lt;obnox@samba.org&gt;
Autobuild-Date(master): Sat Feb 13 16:22:22 CET 2016 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>lib:socket: fix CID 1350009 - illegal memory accesses  (BUFFER_SIZE_WARNING)</title>
<updated>2016-02-13T12:14:13+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2016-02-03T10:41:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8b36428b195f6e1d1063f1abccb718f2665d271f'/>
<id>8b36428b195f6e1d1063f1abccb718f2665d271f</id>
<content type='text'>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11735

Pair-Programmed-With: Guenther Deschner &lt;gd@samba.org&gt;

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Signed-off-by: Guenther Deschner &lt;gd@samba.org&gt;
Reviewed-by: Uri Simchoni &lt;uri@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11735

Pair-Programmed-With: Guenther Deschner &lt;gd@samba.org&gt;

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Signed-off-by: Guenther Deschner &lt;gd@samba.org&gt;
Reviewed-by: Uri Simchoni &lt;uri@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib:socket: fix CID 1350010 - integer OVERFLOW_BEFORE_WIDEN</title>
<updated>2016-02-03T23:35:10+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2016-02-03T10:28:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=498383afefccb8c7acd93da2c374b5bed1de6e4a'/>
<id>498383afefccb8c7acd93da2c374b5bed1de6e4a</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;

Autobuild-User(master): Volker Lendecke &lt;vl@samba.org&gt;
Autobuild-Date(master): Thu Feb  4 00:35:11 CET 2016 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;

Autobuild-User(master): Volker Lendecke &lt;vl@samba.org&gt;
Autobuild-Date(master): Thu Feb  4 00:35:11 CET 2016 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>lib:socket: detect link speed with ethtool ioctl in get_interfaces (on linux)</title>
<updated>2016-01-26T06:33:16+00:00</updated>
<author>
<name>Anoop C S</name>
<email>anoopcs@redhat.com</email>
</author>
<published>2016-01-22T15:21:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=549a9abc7e037442dd8955b52caaaf11a1e4bc02'/>
<id>549a9abc7e037442dd8955b52caaaf11a1e4bc02</id>
<content type='text'>
Pair-Programmed-With: Michael Adam &lt;obnox@samba.org&gt;

Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pair-Programmed-With: Michael Adam &lt;obnox@samba.org&gt;

Signed-off-by: Anoop C S &lt;anoopcs@redhat.com&gt;
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib:socket: set defaults for linkspeed and capability in get_interfaces()</title>
<updated>2016-01-26T06:33:16+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2016-01-25T02:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=64be8e73ff73bfb546d4753b58937d53898412cb'/>
<id>64be8e73ff73bfb546d4753b58937d53898412cb</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib:socket: get interface index from kernel</title>
<updated>2016-01-26T06:33:16+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2016-01-25T11:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=235f37baa7df03ef44f71aea50d72603297a611d'/>
<id>235f37baa7df03ef44f71aea50d72603297a611d</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug # 9666 - Broken filtering of link-local addresses.</title>
<updated>2013-02-28T19:56:57+00:00</updated>
<author>
<name>Timur Bakeyev</name>
<email>timur@FreeBSD.org</email>
</author>
<published>2013-02-28T00:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8ac431a22e45611d4bbded67c4c8bd864c343a8f'/>
<id>8ac431a22e45611d4bbded67c4c8bd864c343a8f</id>
<content type='text'>
This patch should address the problem with Link Local addresses
on FreeBSD and Linux.

Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Richard Sharpe &lt;rsharpe@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Thu Feb 28 20:56:57 CET 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch should address the problem with Link Local addresses
on FreeBSD and Linux.

Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Richard Sharpe &lt;rsharpe@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Thu Feb 28 20:56:57 CET 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Start to add truncate checks on all uses of strlcpy(). Reading lwn</title>
<updated>2012-03-29T18:48:15+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2012-03-28T23:49:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5df1c115391f2d673d3dd2dfb89146ce77639d41'/>
<id>5df1c115391f2d673d3dd2dfb89146ce77639d41</id>
<content type='text'>
has it's uses :-).

Autobuild-User: Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date: Thu Mar 29 20:48:15 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
has it's uses :-).

Autobuild-User: Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date: Thu Mar 29 20:48:15 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix const warnings.</title>
<updated>2011-10-14T20:48:53+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2011-10-14T20:48:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=744dd6bcbe7e078daac150d9e7be60c89985b510'/>
<id>744dd6bcbe7e078daac150d9e7be60c89985b510</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
