bugs in legacy extension getter path
bugs in legacy extension getter path

uninit member variable, write one past the end bug.

Steve132/glhpp,VirtuosoChris/glhpp,Steve132/glhpp,VirtuosoChris/glhpp,VirtuosoChris/glhpp,Steve132/glhpp,Steve132/glhpp