DBio.c: warning: 'sscanf' may overflow; destination buffer in argument ...
DBio.c:2358:21: warning: 'sscanf' may overflow; destination buffer in argument 4 has size 2048, but the corresponding specifier may require size 2049 clang18 default warning cleanup [-Wfortify-source]
This commit is contained in:
parent
ef48e40f39
commit
4460c5f1f5
|
|
@ -2315,7 +2315,7 @@ dbReadProperties(cellDef, line, len, f, scalen, scaled)
|
||||||
int scalen; /* Scale up by this factor */
|
int scalen; /* Scale up by this factor */
|
||||||
int scaled; /* Scale down by this factor */
|
int scaled; /* Scale down by this factor */
|
||||||
{
|
{
|
||||||
char propertyname[128], propertyvalue[2048], *storedvalue;
|
char propertyname[128], propertyvalue[2049], *storedvalue;
|
||||||
char *pvalueptr;
|
char *pvalueptr;
|
||||||
int ntok;
|
int ntok;
|
||||||
unsigned int noeditflag;
|
unsigned int noeditflag;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue