<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/lib/netapi/tests, branch talloc-2.4.4</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>s3:lib: Initialize pointer to NULL</title>
<updated>2025-08-27T03:41:36+00:00</updated>
<author>
<name>Jennifer Sutton</name>
<email>jennifersutton@catalyst.net.nz</email>
</author>
<published>2025-02-20T02:05:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=fc0f9dc109b833855f0c92fcd6d7409e337aa6cb'/>
<id>fc0f9dc109b833855f0c92fcd6d7409e337aa6cb</id>
<content type='text'>
../../source3/lib/netapi/tests/netdisplay.c: In function ‘test_netquerydisplayinformation’:
../../source3/lib/netapi/tests/netdisplay.c:87:45: error: ‘current_name’ may be used uninitialized [-Werror=maybe-uninitialized]
   87 |                                 if (name &amp;&amp; strcasecmp(current_name, name) == 0) {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../source3/lib/netapi/tests/netdisplay.c:37:21: note: ‘current_name’ was declared here
   37 |         const char *current_name;
      |                     ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Jennifer Sutton &lt;jennifersutton@catalyst.net.nz&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
../../source3/lib/netapi/tests/netdisplay.c: In function ‘test_netquerydisplayinformation’:
../../source3/lib/netapi/tests/netdisplay.c:87:45: error: ‘current_name’ may be used uninitialized [-Werror=maybe-uninitialized]
   87 |                                 if (name &amp;&amp; strcasecmp(current_name, name) == 0) {
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../source3/lib/netapi/tests/netdisplay.c:37:21: note: ‘current_name’ was declared here
   37 |         const char *current_name;
      |                     ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Jennifer Sutton &lt;jennifersutton@catalyst.net.nz&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:lib: Fix code spelling</title>
<updated>2023-07-13T05:41:36+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2023-07-05T09:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=71b40127e11c9b275f8e4049a40c5247d53b71f5'/>
<id>71b40127e11c9b275f8e4049a40c5247d53b71f5</id>
<content type='text'>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;mschwenke@ddn.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;mschwenke@ddn.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>s3:netapi: Remove unused variables</title>
<updated>2023-02-06T22:51:32+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2023-02-03T19:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a94adedd0ef335b1ee037cc2e666a5b39d57d3bc'/>
<id>a94adedd0ef335b1ee037cc2e666a5b39d57d3bc</id>
<content type='text'>
source3/lib/netapi/tests/netfile.c:40:22: error: variable 'i2' set but not used
[-Werror,-Wunused-but-set-variable]
  struct FILE_INFO_2 *i2 = NULL;
                      ^
source3/lib/netapi/tests/netfile.c:41:22: error: variable 'i3' set but not used
[-Werror,-Wunused-but-set-variable]
  struct FILE_INFO_3 *i3 = NULL;
                      ^

Signed-off-by: Andreas Schneider &lt;asn@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>
source3/lib/netapi/tests/netfile.c:40:22: error: variable 'i2' set but not used
[-Werror,-Wunused-but-set-variable]
  struct FILE_INFO_2 *i2 = NULL;
                      ^
source3/lib/netapi/tests/netfile.c:41:22: error: variable 'i3' set but not used
[-Werror,-Wunused-but-set-variable]
  struct FILE_INFO_3 *i3 = NULL;
                      ^

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:lib: Use C99 initializer for poptOption in netapi common test</title>
<updated>2019-01-28T09:29:15+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2019-01-08T16:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d34edc6b7bad584784c36413bfa1af1ae7b7056d'/>
<id>d34edc6b7bad584784c36413bfa1af1ae7b7056d</id>
<content type='text'>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:tests: Initialize pointers with NULL in netdisplay test</title>
<updated>2018-11-22T21:13:26+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2018-11-16T19:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=dbdd57e31c09c71460eb2f7b0c646795682ebd88'/>
<id>dbdd57e31c09c71460eb2f7b0c646795682ebd88</id>
<content type='text'>
Found by Undefined Sanitizer

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found by Undefined Sanitizer

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
Reviewed-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3/lib/netapi/tests/netuser.c: fix wrong closing paren</title>
<updated>2016-02-25T21:06:27+00:00</updated>
<author>
<name>Aurelien Aptel</name>
<email>aaptel@suse.com</email>
</author>
<published>2016-02-25T13:17:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1f9d1f9cd70b4e9b41e53d9cca5025ed31ef7e71'/>
<id>1f9d1f9cd70b4e9b41e53d9cca5025ed31ef7e71</id>
<content type='text'>
Signed-off-by: Aurelien Aptel &lt;aaptel@suse.com&gt;
Reviewed-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
Revewied-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Aurelien Aptel &lt;aaptel@suse.com&gt;
Reviewed-by: David Disseldorp &lt;ddiss@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
Revewied-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:lib/netapi/tests: fix invalid switch enum level warning</title>
<updated>2014-11-25T06:25:44+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2014-02-26T19:16:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1733df28115b5507ac8db5577100da02c2b6520d'/>
<id>1733df28115b5507ac8db5577100da02c2b6520d</id>
<content type='text'>
Signed-off-by: Stefan Metzmacher &lt;metze@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>
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netapi: Add support for info level 502 in NetShareAdd.</title>
<updated>2013-11-19T20:48:17+00:00</updated>
<author>
<name>Hans Leidekker</name>
<email>hans@meelstraat.net</email>
</author>
<published>2013-11-18T17:32:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4503bdf560f0e9461ac4eb1fe6220f6440c10fd3'/>
<id>4503bdf560f0e9461ac4eb1fe6220f6440c10fd3</id>
<content type='text'>
Signed-off-by: Hans Leidekker &lt;hans@meelstraat.net&gt;
Reviewed-by: Guenther Deschner &lt;gd@samba.org&gt;

Autobuild-User(master): Günther Deschner &lt;gd@samba.org&gt;
Autobuild-Date(master): Tue Nov 19 21:48:17 CET 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Hans Leidekker &lt;hans@meelstraat.net&gt;
Reviewed-by: Guenther Deschner &lt;gd@samba.org&gt;

Autobuild-User(master): Günther Deschner &lt;gd@samba.org&gt;
Autobuild-Date(master): Tue Nov 19 21:48:17 CET 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Add NetWkstaGetInfo.</title>
<updated>2013-10-16T05:00:45+00:00</updated>
<author>
<name>Hans Leidekker</name>
<email>hans@meelstraat.net</email>
</author>
<published>2013-10-14T18:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a4c3553b5ad4c016a4154f1077e78fb83c791a30'/>
<id>a4c3553b5ad4c016a4154f1077e78fb83c791a30</id>
<content type='text'>
Modified to include common.h entry for netapitest_wksta function by Kai
Blin &lt;kai@samba.org&gt;

Signed-off-by: Hans Leidekker &lt;hans@meelstraat.net&gt;
Reviewed-by: Kai Blin &lt;kai@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Wed Oct 16 07:00:45 CEST 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modified to include common.h entry for netapitest_wksta function by Kai
Blin &lt;kai@samba.org&gt;

Signed-off-by: Hans Leidekker &lt;hans@meelstraat.net&gt;
Reviewed-by: Kai Blin &lt;kai@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Wed Oct 16 07:00:45 CEST 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove lib/netapi autoconf build system, this is now build with waf</title>
<updated>2013-05-28T02:17:11+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2013-05-22T02:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c5bde695683be4af68cf8eb876f88a307bf2fcd3'/>
<id>c5bde695683be4af68cf8eb876f88a307bf2fcd3</id>
<content type='text'>
Reviewed-by: Jelmer Vernooij &lt;jelmer@samba.org&gt;

Reviewed-by: David Disseldorp &lt;ddiss@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Jelmer Vernooij &lt;jelmer@samba.org&gt;

Reviewed-by: David Disseldorp &lt;ddiss@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
