[argyllcms] Re: Visual Studio build runtime issue

  • From: John Adcock <john@xxxxxxxxxxxxxxxx>
  • To: "argyllcms@xxxxxxxxxxxxx" <argyllcms@xxxxxxxxxxxxx>
  • Date: Sun, 06 Oct 2013 19:24:34 +0100

Looks like the issue is at line 155.  The buffers being too small should
generate a warning.

Not that skszie should be 500 with the corresponding change at line 127.

John

> 2013/10/5 János, Tóth F. <janos666@xxxxxxxxxx>:
> > It sounds like this is the same instrument access crash issue which I have.
> > I will try your fix with ICL14 as well.
> >
> >
> > 2013/10/5 <xacc.ide@xxxxxxxxx>
> >
> >> Hi
> >>
> >> I got everything built very easily using a few versions of VC. The problem
> >> is it would never run, either crashing or the JIT debugger alerting me to a
> >> buffer overrun (in later versions). This always happens during icoms stuff.
> >>
> >> I found the issue was the buffers in icoms_nt.c lines 101 and 105 were too
> >> small. Being lazy, I just increased these buffers (and sizes) by a factor 
> >> of
> >> 10, and the executables will happily run.
> >>
> >> If you need more info about what is being read there, shout.
> >>
> >> Cheers
> >>
> >> leppie
> >>
> >
> 



Other related posts: