I was wondering which C compiler/libraries are used in the project, because either there's a bug in "strdup" or the documentation I'm looking at for strdup is for a different flavor of the library.
gcc 7.2.0 mode C11
With the following libraries ‑lm, ‑lpthread, ‑ldl, ‑lcrypt
see the FAQ.
Thanks for your help!