Corrected a problem with character array bound overflow when writing
values to a LEF file.
This commit is contained in:
parent
8d8fe2fe55
commit
c22d584ac3
|
|
@ -776,7 +776,7 @@ lefWriteGeometry(tile, cdata)
|
||||||
lefClient *lefdata = (lefClient *)cdata;
|
lefClient *lefdata = (lefClient *)cdata;
|
||||||
FILE *f = lefdata->file;
|
FILE *f = lefdata->file;
|
||||||
float scale = lefdata->oscale;
|
float scale = lefdata->oscale;
|
||||||
char leffmt[6][10];
|
char leffmt[6][16];
|
||||||
TileType ttype, otype = TiGetTypeExact(tile);
|
TileType ttype, otype = TiGetTypeExact(tile);
|
||||||
LefMapping *lefMagicToLefLayer = lefdata->lefMagicMap;
|
LefMapping *lefMagicToLefLayer = lefdata->lefMagicMap;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue