mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected a problem with character array bound overflow when writing
values to a LEF file.
This commit is contained in:
+1
-1
@@ -776,7 +776,7 @@ lefWriteGeometry(tile, cdata)
|
||||
lefClient *lefdata = (lefClient *)cdata;
|
||||
FILE *f = lefdata->file;
|
||||
float scale = lefdata->oscale;
|
||||
char leffmt[6][10];
|
||||
char leffmt[6][16];
|
||||
TileType ttype, otype = TiGetTypeExact(tile);
|
||||
LefMapping *lefMagicToLefLayer = lefdata->lefMagicMap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user