Comment Re:Enough for anybody! (Score 1) 84
Hmmm... seems like you just took a chunk of code completely out of context. The ASSERT above can be found in four or five places in that file in code paths that convert a GUID struct to a string via a call to StringFromGUID2. Given that GUIDs have a fixed definition, and every piece of COM based software ever written relies on that definition, it's safe to assume that this isn't going to change. The assert is in place simply to detect a condition which should never be hit unless the function definition for StringFromGUID2 changes. The buffer allocated will always have enough space for a GUID.