Changeset 73ca8f3 in git for kernel/GBEngine/kutil.cc


Ignore:
Timestamp:
Jul 19, 2018, 12:10:11 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
2956e79f7ae4282b9ffde4eafb8b3203df65b398
Parents:
a6b3f67bed5a6748a71fee8be9c02cce3e486064
Message:
fix: possible out-of-bound in kCheckSpolyCreation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    ra6b3f6 r73ca8f3  
    1059110591    return TRUE;
    1059210592  }
    10593   poly p1_max = (strat->R[L->i_r1])->max_exp;
    10594   poly p2_max = (strat->R[L->i_r2])->max_exp;
     10593  poly p1_max=NULL;
     10594  if (L->i_r1>=0) p1_max = (strat->R[L->i_r1])->max_exp;
     10595  poly p2_max=NULL;
     10596  if (L->i_r2>=0) p2_max = (strat->R[L->i_r2])->max_exp;
    1059510597
    1059610598  if (((p1_max != NULL) && !p_LmExpVectorAddIsOk(m1, p1_max, strat->tailRing)) ||
Note: See TracChangeset for help on using the changeset viewer.