CoSoCo
CoSoCo
This now seems solved for `libpisock-dev` since version 2.0.2, but not for others and `libpisync-dev`.
> I'm in Frankfurt last week and this week, I'll build and test this when I'm back on terra-firma in the states in a couple of days! Welcome in Germany....
Please release a DEB-package with this fix.
Thanks for your deeper look. > Although your code clearly looks easier, it seems to be not correct, as the strings in question in `prefType` are used with `realloc()` in...
> ... warning: pointer ‘s’ used after ‘realloc’ > The problematic part here is: **‘realloc’ called on a pointer to an unallocated object ‘**. Correct. The problem happens, because your...
I now found a way how to build pilot-link, libpisock etc. on Ubuntu 24.04, see: https://forum-ubuntuusers-de.translate.goog/topic/make-von-aelteren-projekt-geht-nicht-mehr/2/?_x_tr_sl=auto&_x_tr_tl=de&_x_tr_hl=de&_x_tr_pto=wapp#post-9468424
The crash is caused by issue #9 .
The underlying function `dlp_VFSDirEntryEnumerate(...)` is designed to retrieve the dir entries chunk-wise into a preallocated array of fixed size by help of the returned `diriterator`. Re-using the returned `diriterator` value...
This bug lead to a complicated question here: https://stackoverflow.com/questions/73210048/how-can-a-function-change-the-original-variable-when-it-is-passed-as-value-argu/73266886#73266886 It appears, that the value retrieved from `dlp_exec (sd, req, &res)` in `dlp.c` is only 32 bit, so we can use...
A patch for fixing this. [0001-Fix-corrupt-error-handling-in-dlp_VFSDirEntryEnumerate.patch.zip](https://github.com/desrod/pilot-link/files/9339530/0001-Fix-corrupt-error-handling-in-dlp_VFSDirEntryEnumerate.patch.zip)