- sept. 15, 2021
-
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
MODULE: If an error occurred in the SDL worker thread we exit because the "new" part of the module will return an error (the errors are now reported)
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
The lektord daemon crashed when passing one argument to the `addid` command. This was due to the way the loop was written, it was possible to call strtol with a NULL char pointer, thus the SEGV.
-
Kubat a rédigé
If getaddrinfo fails we should exit be cause we can't do anything now. It's better to log and abort than letting lkt SEGV with a maybe unknown reason.
- sept. 09, 2021
-
-
Kubat a rédigé
-
- sept. 08, 2021
-
- sept. 07, 2021
-
-
Kubat a rédigé
-
- sept. 05, 2021
-
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
This is done because the last update may have been canceled before completion and the update was not 'completed' (increment the current job update serial).
-
Kubat a rédigé
DB: In memory db cache, permit some fields to be 0 by default as they may not be known when downloading a kara
-
Kubat a rédigé
-
Kubat a rédigé
Command fixed: play, playid, stop
-
Kubat a rédigé
-
Kubat a rédigé
Doing this some errors were found: - malloc not the right size, works because the malloc'ed struct was bigger - const/volatile correctness forced -> explicit with the malloc macro
-
Kubat a rédigé
We do that because an ill-intentioned client might send a 2000 character long command name to try to SEGV the lektord process because of a stack to small to handle all the recursive calls. The recursive calls are done in the trie find function, where the stack consumed by each calls increases each time a recursive call is done (indexes and other local variables...).
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
CMD: Add all commands other than search commands to the trie structure, also hide all the sticker sub-commands into another function
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
- juin 28, 2021
-