It is indeed a use before assign.
It isn't a problem if this while loop exits a check before the counter, but if not then the error will trigger.
This is the fix https://github.com/hreinecke/sg3_utils/commit/b5dadcb663fd9aeacd8f6145bfd6d50df12c0163
Which is in 1.44
And thereby in Focal and later
It is indeed a use before assign.
It isn't a problem if this while loop exits a check before the counter, but if not then the error will trigger.
This is the fix /github. com/hreinecke/ sg3_utils/ commit/ b5dadcb663fd9ae acd8f6145bfd6d5 0df12c0163
https:/
Which is in 1.44
And thereby in Focal and later