<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unit.git, branch archive/overlappingWriteUnion</title>
<subtitle>Universal Web Application Server</subtitle>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/'/>
<entry>
<title>Sptr: avoided potentially undefined behaviour.</title>
<updated>2022-06-15T18:59:57+00:00</updated>
<author>
<name>Andrew Clayton</name>
<email>andrew@digital-domain.net</email>
</author>
<published>2022-06-15T18:59:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=68afb3efcf123f0a18119a02bfa18691e0e80253'/>
<id>68afb3efcf123f0a18119a02bfa18691e0e80253</id>
<content type='text'>
In src/nxt_unit_sptr.h::nxt_unit_sptr_set() we are setting one member of
a union based on another member which cppcheck[0] flags as undefined
behaviour

src/nxt_unit_sptr.h:27:18: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion]
    sptr-&gt;offset = (uint8_t *) ptr - sptr-&gt;base;
                 ^

I think this warning is correct as I can't see where we are setting
sptr-&gt;base beforehand which I think would make this defined behaviour.

To avoid any doubts take a copy of sptr-&gt;base and then use that value in
the above.

[0]: https://cppcheck.sourceforge.io/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In src/nxt_unit_sptr.h::nxt_unit_sptr_set() we are setting one member of
a union based on another member which cppcheck[0] flags as undefined
behaviour

src/nxt_unit_sptr.h:27:18: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion]
    sptr-&gt;offset = (uint8_t *) ptr - sptr-&gt;base;
                 ^

I think this warning is correct as I can't see where we are setting
sptr-&gt;base beforehand which I think would make this defined behaviour.

To avoid any doubts take a copy of sptr-&gt;base and then use that value in
the above.

[0]: https://cppcheck.sourceforge.io/
</pre>
</div>
</content>
</entry>
<entry>
<title>Var: relocated nxt_var_is_const() and nxt_var_raw().</title>
<updated>2022-06-15T06:27:50+00:00</updated>
<author>
<name>Zhidao HONG</name>
<email>z.hong@f5.com</email>
</author>
<published>2022-06-15T06:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=6a8081d71e805b12d0f7fd32ce72d60babadfc85'/>
<id>6a8081d71e805b12d0f7fd32ce72d60babadfc85</id>
<content type='text'>
No functional changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Specified date of 1.27.0 release in changes.xml.</title>
<updated>2022-06-08T12:12:51+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2022-06-08T12:12:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=862f51bcd834d58fadc322720107be64ba0b70b1'/>
<id>862f51bcd834d58fadc322720107be64ba0b70b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removing unused tracking fields and functions.</title>
<updated>2022-06-07T05:59:45+00:00</updated>
<author>
<name>Max Romanov</name>
<email>max.romanov@nginx.com</email>
</author>
<published>2022-06-07T05:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=b4540f0960a54908a6bca9c2bd091c239ae76a53'/>
<id>b4540f0960a54908a6bca9c2bd091c239ae76a53</id>
<content type='text'>
The message tracking is unused since 1d84b9e4b459 commit.

This fixes the issue found by Coverity (CID 376263).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The message tracking is unused since 1d84b9e4b459 commit.

This fixes the issue found by Coverity (CID 376263).
</pre>
</div>
</content>
</entry>
<entry>
<title>Router: removed unused code in nxt_router_conf_error().</title>
<updated>2022-06-07T05:43:38+00:00</updated>
<author>
<name>Zhidao HONG</name>
<email>z.hong@f5.com</email>
</author>
<published>2022-06-07T05:43:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=df421e36b368c9595e8adedc078b69f3f0c2466b'/>
<id>df421e36b368c9595e8adedc078b69f3f0c2466b</id>
<content type='text'>
No functional changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Summary: Var: removing all async stuff.</title>
<updated>2022-06-02T01:36:35+00:00</updated>
<author>
<name>Zhidao HONG</name>
<email>z.hong@f5.com</email>
</author>
<published>2022-06-02T01:36:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=0d2d40e23192a281adaf88ce436723c8b7f5e9d3'/>
<id>0d2d40e23192a281adaf88ce436723c8b7f5e9d3</id>
<content type='text'>
No functional changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>HTTP: generalized uri encoding.</title>
<updated>2022-05-19T13:18:25+00:00</updated>
<author>
<name>Zhidao HONG</name>
<email>z.hong@f5.com</email>
</author>
<published>2022-05-19T13:18:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=4f16479482f4902aecefdbcd16f3d6e3bf6b67a4'/>
<id>4f16479482f4902aecefdbcd16f3d6e3bf6b67a4</id>
<content type='text'>
No functional changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functional changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Unit 1.27.0 release.</title>
<updated>2022-06-02T12:37:14+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2022-06-02T12:37:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=0d48fe73c4450901622373e35f6ff3a944ec13d6'/>
<id>0d48fe73c4450901622373e35f6ff3a944ec13d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Generated Dockerfiles for Unit 1.27.0.</title>
<updated>2022-06-02T12:31:55+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2022-06-02T12:31:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=3d1fa29f1d03e392df534b6589d3e1d2ed883671'/>
<id>3d1fa29f1d03e392df534b6589d3e1d2ed883671</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added version 1.27.0 CHANGES.</title>
<updated>2022-06-02T12:30:52+00:00</updated>
<author>
<name>Andrei Zeliankou</name>
<email>zelenkov@nginx.com</email>
</author>
<published>2022-06-02T12:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sigsegv.uk/unit.git/commit/?id=cf9b5bdb35cb3895dc802d38f6e7d63af39865ad'/>
<id>cf9b5bdb35cb3895dc802d38f6e7d63af39865ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
