Skip to content

fix(oiiotool): minor safety fix for error message marshalling - #5401

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-errormsg
Aug 15, 2026
Merged

fix(oiiotool): minor safety fix for error message marshalling#5401
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-errormsg

Conversation

@lgritz

@lgritz lgritz commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

It's not safe to pass a string as the sole argument to Strutil::format. When it's ok, it's just a no-op, so remove the format call and just assign to errmsg.

It's not safe to pass a string as the sole argument to
Strutil::format.  When it's ok, it's just a no-op, so remove the
format call and just assign to errmsg.

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz
lgritz merged commit a8b58be into AcademySoftwareFoundation:main Aug 15, 2026
29 checks passed
@lgritz
lgritz deleted the lg-errormsg branch August 15, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants