#fixed code
                                protected void storeVersionToDownload(String driverVersion) {
        if (!isUnknown(driverVersion)) {
            if (driverVersion.startsWith(".")) {
                driverVersion = driverVersion.substring(1);
            }
            driverVersionToDownload = driverVersion;
        }
    }
#vulnerable code 
                                protected void storeVersionToDownload(String driverVersion) {
        if (!isUnknown(driverVersion)) {
            if (driverVersion.startsWith(".")) {
                driverVersion = driverVersion.substring(1);
            }
            versionToDownload = driverVersion;
        }
    } 
                            #location 6 
                            #vulnerability type THREAD_SAFETY_VIOLATION