Davide, do you have an interest in trying to make these code paths a bit more robust?
I've tried to implement your comments in a new patch, you can find it at[1]. Sorry if this is not the standard procedure to submit a new patch and let me know if you have new comments. Thanks to all. Ciao, D. [1] https://public-inbox.org/git/20191101002432.GA49846@xxxxxxxxxxxxx/T/#u