You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (unicode_string_bytes>UX_HOST_CLASS_PIMA_UNICODE_MAX_LENGTH)
152
+
{
153
+
_ux_utility_memory_free(storage_buffer);
154
+
return(UX_BUFFER_OVERFLOW);
155
+
}
156
+
143
157
/* Copy that string into the storage description field. */
144
-
_ux_utility_memory_copy(storage->ux_host_class_pima_storage_description, storage_pointer, unicode_string_length); /* Use case of memcpy is verified. */
if (unicode_string_bytes>UX_HOST_CLASS_PIMA_UNICODE_MAX_LENGTH)
174
+
{
175
+
_ux_utility_memory_free(storage_buffer);
176
+
return(UX_BUFFER_OVERFLOW);
177
+
}
178
+
152
179
/* Copy that string into the storage volume label field. */
153
-
_ux_utility_memory_copy(storage->ux_host_class_pima_storage_volume_label, storage_pointer, unicode_string_length); /* Use case of memcpy is verified. */
0 commit comments