¿Qué significa el código HRESULT 0x80000017 (E_STRING_NOT_NULL_TERMINATED)?

 
También puede significar:
ConstanteTipoSO
STATUS_EXTRANEOUS_INFORMATIONNTSTATUSWindows
Anterior Siguiente
RO_E_ERROR_STRING_NOT_FOUND E_ILLEGAL_DELEGATE_ASSIGNMENT

E_STRING_NOT_NULL_TERMINATED

Qué significa E_STRING_NOT_NULL_TERMINATED

E_STRING_NOT_NULL_TERMINATED (0x80000017) es un HRESULT de error. La cadena no termina en un carácter nulo.

Qué comprobar

Inspecciona el buffer y su longitud contractual para verificar que haya un terminador NUL dentro del rango accesible, especialmente al cruzar ABI C/WinRT.

Cómo resolverlo o tratarlo

Reserva espacio para el terminador y usa APIs de longitud explícita cuando el dato pueda contener buffers no terminados.

Qué distingue este resultado

La memoria puede ser válida, pero la representación esperada de cadena C no termina correctamente.

Referencias técnicas


¿Buscas un código diferente? Buscar otro código de estado o error.