3 ms·
”This would be the result of trying to copy a string to a buffer that is too small.” C doesn’t have the notion of “size of buffer” (yes, arrays have a size tha
by Someone 7y ago
”This would be the result of trying to copy a string to a buffer that is too small.”
C doesn’t have the notion of “size of buffer” (yes, arrays have a size that can be queried by sizeof, but only at compile time). You would have to fix that, first.