Menu

#5 CLIPSWin crash

Windows
closed
nobody
GUI (2)
5
2013-02-28
2009-04-13
NovikovAG
No

An example
1. enter fact or somthing else
2. press row up, and move cursor to rear left, and tipe any symbol
3. move cursor after symbols, and try press backspace some times to delete them
4. crash

Exception in file Display.c at line 2467:
strncpy(preCommand,theCommand,length - (theData->caretOffset + 1));

Maybe incorrect incsruction at line 2466:
preCommand = (char *) malloc(length - theData->caretOffset);

when ength and theData->caretOffset have same size

Discussion

  • NovikovAG

    NovikovAG - 2009-04-13
    • labels: --> GUI
    • milestone: --> Windows
     
  • Gary Riley

    Gary Riley - 2013-02-28

    This is a duplicate of bug #2, https://sourceforge.net/p/clipsrules/bugs/2/.

     
  • Gary Riley

    Gary Riley - 2013-02-28
    • status: open --> closed