author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Tue, 04 Nov 2008 14:05:57 +0100 | |
changeset 3910 | 6fa1d439ba1c |
parent 3909 | 4e7e594b0b7e |
child 3911 | a9bd53792bc1 |
--- a/src/core/type-id.cc Tue Oct 28 13:40:33 2008 +0100 +++ b/src/core/type-id.cc Tue Nov 04 14:05:57 2008 +0100 @@ -132,7 +132,7 @@ struct IidManager::IidInformation * IidManager::LookupInformation (uint16_t uid) const { - NS_ASSERT (uid <= m_information.size ()); + NS_ASSERT (uid <= m_information.size () && uid != 0); return const_cast<struct IidInformation *> (&m_information[uid-1]); }