Hi Bill - 
I added a check that will return without action if the message length is less 
than 4. I don’t think that an all-spaces message should be a problem (within 
fix_contest_message) unless it is shorter than 4 characters, so I didn't 
explicitly trapped that case.
Steve
 
> On Jul 9, 2017, at 5:14 PM, Bill Somerville <[email protected]> wrote:
> 
> Hi Joe & Steve,
> 
> while testing and revising Mike's QSO log times patch I have hit an issue 
> with MSK144. The situation is triggered by receiving what appears to be a 
> blank or all spaces message. The blank message is the result of another issue 
> which I will try and find the trigger for.
> 
> The crash is:
> 
> At line 13 of file C:\Users\bill\src\wsjt\lib\fix_contest_msg.f90
> Fortran runtime error: Substring out of bounds: lower bound (-3) of 'msg' is 
> less than one
> 
> short messages are enabled but not contest mode.
> 
> 73
> Bill
> G4WJS.
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> wsjt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to