-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
When calling glbinding::aux::Meta::getExtension(const std::string & extension) with an empty string an exception is thrown as the function attempts to access the string at a specific index unchecked when trying to skip the prefix.
See:
const auto index = alphabeticalGroupIndex(glextension, 3); |
auto index = static_cast<size_t>(identifier[prefixLength]); // ignore prefix ('GL_' or 'gl') |
Metadata
Metadata
Assignees
Labels
No labels