projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0025770: Possible "invalid memory access"
[occt.git]
/
src
/
GeomInt
/
GeomInt_LineConstructor.cxx
diff --git
a/src/GeomInt/GeomInt_LineConstructor.cxx
b/src/GeomInt/GeomInt_LineConstructor.cxx
index
0416729
..
bc32606
100644
(file)
--- a/
src/GeomInt/GeomInt_LineConstructor.cxx
+++ b/
src/GeomInt/GeomInt_LineConstructor.cxx
@@
-788,7
+788,7
@@
void GeomInt_LineConstructor::TreatCircle(const Handle(IntPatch_Line)& aLine,
aT=pVtx[1].Value()+aTwoPI;
pVtx[aNbVtx-1].SetValue(aT);
//
- for(i=0; i<aNbVtx; ++i) {
+ for(i=0; i<aNbVtx
- 1
; ++i) {
aT=pVtx[i+1].Value();
pVtx[i].SetValue(aT);
}