Commit graph

9 commits

Author SHA1 Message Date
d83db35df0 Use strncpy() instead of strcpy().
The OpenBSD linker is complaining about it. Even though every single
case strcpy() was used is safe, strncpy() provides a little bit of extra
security, and makes the linker happy.
2023-04-25 21:54:51 +00:00
3b28af2031 Fix warning on some compilers. 2023-04-20 17:40:14 +00:00
0cca38115a Move configuration to database, add process control API, fix memory leaks. 2023-04-19 00:33:38 +00:00
e882693c78 Add route for requestToken endpoints. 2023-04-14 23:59:40 +00:00
1f8df737da Add HttpRouter API; still have to convert the code to use it. 2023-04-06 01:48:32 +00:00
fa88fc3323 Format source code. 2023-02-17 03:23:25 +00:00
c78dc3bd31 Fix a memory bug in StrRandom() with RandIntN().
We're storing integers in this buffer, so we have to allocate enough
memory for them. An integer is usually more than one byte.
2023-02-16 13:10:09 +00:00
6a593ab8a0 [] Add Rand API and make StrRandom() use it. 2023-02-16 00:31:13 +00:00
30c3690287 Renamed String.h to Str.h because Windows is dumb. 2023-01-08 04:38:06 +00:00
Renamed from src/String.c (Browse further)