Skip to content

[Bug] SharedLibraryImpl::loadImpl uses an incorrect format specifier #4164

@Smurf-IV

Description

@Smurf-IV

According to https://www.tutorialspoint.com/c_standard_library/c_function_sprintf.htm

the length should be "BEFORE" the specifier

in the above function (In the win32 version) the following is formatted

Poco::format(err, "Error %ul while loading [%s]: [%s]", errn, path, trimmedError);

and it should be

Poco::format(err, "Error %lu while loading [%s]: [%s]", errn, path, trimmedError);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions