Site icon EfmSoft

What does HRESULT 0x80093021 (OSS_OUT_OF_RANGE) mean?

 
Previous Next
OSS_REAL_CODE_NOT_LINKED OSS_COPIER_DLL_NOT_LINKED

OSS_OUT_OF_RANGE

OSS_OUT_OF_RANGE (0x80093021) is an OSS ASN.1 runtime result for runtime parameter outside its permitted range. An API parameter is numerically valid at the machine level but falls outside the range accepted for that runtime option or operation. Because function name and parameter index is central to this condition, Microsoft’s HRESULT range and the OSS Nokalva return-code documentation should be read together. Start the investigation by recording value before narrowing or sign conversion, then separate the encoded value from generated artifacts, call arguments, and the runtime package actually loaded by the process.

What not to confuse it with: OSS_OUT_OF_RANGE

Despite the generic Windows text that groups several OSS values as link errors, OSS documentation identifies this return code as a parameter-range failure.

Locate the failing codec stage

At the runtime parameter outside its permitted range boundary, capture the first OSS function returning the value and note whether the operation was encode, decode, copy, compare, constraint validation, or trace setup. Preserve the selected PDU, encoding rules, and documented minimum, maximum, and sentinel values; otherwise an outer certificate or security wrapper may hide the useful codec result behind a generic failure.

Evidence worth preserving

  • function name and parameter index
  • value before narrowing or sign conversion
  • documented minimum, maximum, and sentinel values

A controlled way to reproduce it

  1. Test both legal boundaries
  2. remove implicit casts at the call site
  3. assert units such as bytes versus bits

Instrumentation

Where function name and parameter index can expose sensitive content, a hash plus a bounded structural excerpt is safer than the complete payload. Use value before narrowing or sign conversion together with OSS module paths and versions logged once per process so packaging differences can be correlated without flooding normal diagnostics.

Exit criteria: the result

Correct the caller’s range and units, then keep explicit lower-, upper-, and out-of-range tests.

Technical references


Looking for a different code? Search another status or error code.

Exit mobile version