copywin crashed under certain conditions.

2014-02-27
2014-02-27
  • Aleksandr Aleks

    Aleksandr Aleks - 2014-02-27
    WINDOW* src = newwin(11, 11, 0, 0);
    WINDOW* dst = newwin(10, 10, 0, 0);
    
    int res = copywin(src, dst, 0, 0, 0, 0, 9, 9, true); /* OK */
    res = copywin(src, dst, 0, 0, 0, 0, 11, 11, true); /* ERR */
    res = copywin(src, dst, 0, 0, 0, 0, 10, 10, true); /* crash */
    
     
  • William McBrine

    William McBrine - 2014-02-27

    Thanks for the report. I've committed a fix to CVS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks