Skip to content

[Good First Issue][Bug][Core]: negative values are not checked in property with unsigned value type #23194

@mlukasze

Description

@mlukasze

Context

core.set_property("GPU", ov::hint::infer_request(-1)) // setting a negative value

core.get_property("GPU", ov::hint::infer_request) // no warnings and getting the infer requst number value as 4294967295

probably we should prohibit the implicit signed->unsigned transform in property values.

What needs to be done?

to fix a problem in described scenario

Example Pull Requests

#15991

Resources

Contact points

@vurusovs @songbell @ilya-lavrenov

Ticket

CVS-104944

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions