On 01/02/2026 20:34, Collin Funk wrote:
I couldn't get this to overflow the stack, since passing a large file
name will run into ENAMETOOLONG errors before find_mount_point is
executed. But as far as I can tell, this strdupa call was never needed.

Yes the explicit free() calls aren't too onerous here,
as the "dir" is only used within this else clause.

I wouldn't change for this release though,
just in case.

thanks,
Padraig

Reply via email to