mirror of https://github.com/citusdata/citus.git
Replace strcpy with strcpy_s
parent
64b6d7a44e
commit
7f0c502660
|
@ -167,7 +167,7 @@ AttributeQueryIfAnnotated(const char *query_string, CmdType commandType)
|
|||
if (tenantIdTextP != NULL)
|
||||
{
|
||||
char *tenantId = text_to_cstring(tenantIdTextP);
|
||||
strcpy(attributeToTenant, tenantId);
|
||||
strcpy_s(attributeToTenant, sizeof(attributeToTenant), tenantId);
|
||||
}
|
||||
|
||||
colocationGroupId = ExtractFieldInt32(jsonbDatum, "cId", 0);
|
||||
|
|
Loading…
Reference in New Issue