On Wed, 2022-05-11 at 08:00 +0200, Gisle Vanem wrote:
> The crash and wild call-stack seems to be caused
> by an overflow to 'sprintf(sh_path, ..)'. But replacing
> with 'snprintf()' works w/o any crash:

I applied changes based on this: some didn't need sprintf() at all; the
rest I used snprintf().

I do have a memory that some versions of Visual Studio, up until
relatively recently, have non-standard implementations of snprintf()
but hopefully it's standard enough to manage this.

Reply via email to