Hi Fred,
In either case, the buffer overflow should be looked at.
Of course, gretl should not crash. Could you specify which gretl version
on which OS you're using please? If you aren't using the latest stable
version gretl 2019a, could you please try this one again.
I can't say anything more on the Logit issue -- sorry.
Best,
Artur