[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Undefined behaviour
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2003-09-15 21:54:25
[Download RAW message or body]
As I have found again an undefined behaviour in koffice/kword/framedia.cc, I
have grepped all KOffice source for ++ and just found these two:
./filters/karbon/svg/svgimport.cc:686:
path->moveTo( KoPoint( (*(it++)).toDouble(), (*it).toDouble() ) );
./filters/karbon/svg/svgimport.cc:690:
path->lineTo( KoPoint( (*(it++)).toDouble(), (*it).toDouble() ) );
(The problem is if a compiler takes the right parameters first, it++ is done
at the wrong moment.)
Have a nice day!
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic