[Horus] Protection against buffer overflow

This commit is contained in:
Bertrand Songis
2016-11-21 18:40:22 +01:00
parent 34fa612f07
commit 4b84cd27b2
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -77,6 +77,7 @@ enum FontSizeIndex {
SPAREf_INDEX,
};
#define STDSIZE (STDSIZE_INDEX << 8)
#define TINSIZE (TINSIZE_INDEX << 8)
#define SMLSIZE (SMLSIZE_INDEX << 8)
#define MIDSIZE (MIDSIZE_INDEX << 8)