-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: APIs
-
Storage Engines
-
StorEng - Defined Pipeline
The new error handling API (SPM-3810) requires each session to hold a dynamically allocated error string buffer that is overwritten during each session API call.
It would be beneficial to have a safe version of strcpy (like we have for malloc, free, snprintf, etc.) available to use for copying strings, for this particular use case as well as for future use.
This ticket will be considered done when there is a new function created:
char *__wt_strcpy(char *dest, const char *src)
that replicates the functionality of strcpy in a safe manner (i.e. no buffer overflow risk).
- is related to
-
WT-13861 Create placeholder function API and WT_VERBOSE_ERROR structure
- Closed