79739833

Date: 2025-08-19 11:23:46
Score: 1
Natty:
Report link

Since (as per the question) "It is not mandatory for this->name to be NUL-terminated." GCC __attribute__ ((nonstring)) in this->name declaration appears to be an appropriate solution.

See also 6.32.1 Common Variable Attributes in the Using the GNU Compiler Collection (GCC).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vitalii Ovchinnikov