Bounds error in util.cpp
"Alexander Lamaison" <[email protected]>
| Newsgroups | gmane.text.doxygen.devel |
|---|---|
| Organization | Imperial College London |
| Message-ID | <[email protected]> |
Hello, I have been developing a bounds-checker for C++. I tested it using Doxygen and it finds a bounds error in util.cpp on line 1427 when running the define example. I went through the code by hand and it does, indeed, seem that the use of 'constScope[]' in '!isId(constScope[i-1])' can go out-of-bounds if the string passed in as parameter 's' is longer than 6 and, I assume, similarly with 'virtualScope[]' on line 1430. I realise that this is a very minor bounds error but I'm very curious whether this behaviour is intended. Alex Lamaison ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Doxygen-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/doxygen-develop