Comment 10 for bug 575968

Revision history for this message
deleted (to-delete) wrote :

This bug didn't happen on older releases of ubuntu. So I would call it a regression.

TEST CASE: To test the problem just use a driver with a very long vendor string. Just patch your libgl to output such a string (256 bytes should be sufficient). Use different random strings and test it on different platforms to create the different types of crashes/random misbehavior.

The m_strDeviceStats is only used in one place:

{{{
    sprintf(m_strDeviceStats, "%s - %s : %s", m_pVendorStr, m_pRenderStr, m_pVersionStr);
    TRACE0(m_strDeviceStats);
    printf("%s\n", m_strDeviceStats);
}}}

So the problems created by that patch should be minimal or non-existent.