<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/slcl/auth.c, branch css</title>
<subtitle>Small and lightweight cloud storage written in C99 and POSIX.1-2008.
</subtitle>
<id>https://gitea.privatedns.org/xavi/slcl/atom?h=css</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/slcl/atom?h=css'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/'/>
<updated>2024-06-13T06:25:29+00:00</updated>
<entry>
<title>auth.c: Reject empty files</title>
<updated>2024-06-13T06:25:29+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-06-13T06:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=37c4b2967863fe5ba265a7fefad60dbd96a09f17'/>
<id>urn:sha1:37c4b2967863fe5ba265a7fefad60dbd96a09f17</id>
<content type='text'>
It makes no sense to attempt to fopen(3) an empty file and malloc(3)
zero bytes so as to dump it, as dump_db is still meant to fail on empty
files.
</content>
</entry>
<entry>
<title>auth.c: Fix potential signed integer overflow</title>
<updated>2023-10-14T11:08:25+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-14T11:05:58+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=d96e5685ee072d5fd80c562089c1080a53673187'/>
<id>urn:sha1:d96e5685ee072d5fd80c562089c1080a53673187</id>
<content type='text'>
For platforms where int is a 16-bit data type, this operation might
overflow and possibly cause either unexpected behaviour and/or a
compiler warning.

Therefore, it is safer to promote each integer constant accordingly.
</content>
</entry>
<entry>
<title>Apply slweb renaming to libweb</title>
<updated>2023-10-10T22:08:40+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-10T21:43:47+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=28ae865e5ecad9b398ac21fa148fc4b93c987226'/>
<id>urn:sha1:28ae865e5ecad9b398ac21fa148fc4b93c987226</id>
<content type='text'>
</content>
</entry>
<entry>
<title>auth.c: Add missing include</title>
<updated>2023-09-15T20:34:07+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-09-15T20:34:07+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=5af036c37cde1602d4050b14c864139ce7517cf2'/>
<id>urn:sha1:5af036c37cde1602d4050b14c864139ce7517cf2</id>
<content type='text'>
As opposed to other integer constants such as ULLONG_MAX, SIZE_MAX is
defined by stdint.h, not limits.h.
</content>
</entry>
<entry>
<title>Adapt to slweb's include paths</title>
<updated>2023-07-20T23:40:55+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-20T23:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=e49f1da7aed6894c8893cf29c33c4ca839d74976'/>
<id>urn:sha1:e49f1da7aed6894c8893cf29c33c4ca839d74976</id>
<content type='text'>
slweb puts its header files into its own directory in order to avoid
potential name clashing.
</content>
</entry>
<entry>
<title>auth.c: Fix wrong size check</title>
<updated>2023-05-28T10:57:28+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-05-28T10:57:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=f1bf2fb68416b9da50eedd1e6fe97627c21f704f'/>
<id>urn:sha1:f1bf2fb68416b9da50eedd1e6fe97627c21f704f</id>
<content type='text'>
Otherwise, sb.st_size + 1 would exceed SIZE_MAX.
</content>
</entry>
<entry>
<title>auth.c: Ensure absolute path for a-&gt;dir</title>
<updated>2023-03-25T08:57:19+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-25T08:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=ee6809eac527e101a077bc1d10e2acce96754ca8'/>
<id>urn:sha1:ee6809eac527e101a077bc1d10e2acce96754ca8</id>
<content type='text'>
Otherwise, slcl would create broken symbolic links if the user passes a
relative path as command line argument.
</content>
</entry>
<entry>
<title>auth.c: Add friendly reminder</title>
<updated>2023-03-16T00:59:17+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-16T00:59:17+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=fa474603ccaa1a50d258b82ee51e2bc9275ba8b9'/>
<id>urn:sha1:fa474603ccaa1a50d258b82ee51e2bc9275ba8b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move decode_hex into its own file</title>
<updated>2023-03-09T00:14:10+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-09T00:14:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=ad7fb045add90c3e4b3b7abe2a20eea3d05cfb1d'/>
<id>urn:sha1:ad7fb045add90c3e4b3b7abe2a20eea3d05cfb1d</id>
<content type='text'>
- Error detection against strotul(3) has been improved, as done in other
places.
- New function encode_hex has been implemented, which will be used
by future commits.
</content>
</entry>
<entry>
<title>Perform some minor optimizations</title>
<updated>2023-03-06T04:51:53+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-06T04:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=61dc4f42b346931b5a67da4f46013fd5e2fb6ad3'/>
<id>urn:sha1:61dc4f42b346931b5a67da4f46013fd5e2fb6ad3</id>
<content type='text'>
</content>
</entry>
</feed>
