]>
Commit | Line | Data |
---|---|---|
3bed5943 AM |
1 | --- busybox-1.12.2/console-tools/loadfont.c~ 2008-11-19 12:27:34.314700966 +0100 |
2 | +++ busybox-1.12.2/console-tools/loadfont.c 2008-11-19 12:28:35.598028789 +0100 | |
3 | @@ -115,8 +115,10 @@ | |
840e1d60 | 4 | head0 = sizeof(struct psf_header); |
5 | ||
6 | head = head0 + fontsize * unit; | |
dd21d438 | 7 | + /* |
3bed5943 | 8 | if (head > len || (!hastable && head != len)) |
c818a1f2 | 9 | bb_error_msg_and_die("input file: bad length"); |
3bed5943 AM |
10 | + */ |
11 | } else { | |
12 | /* file with three code pages? */ | |
13 | if (len == 9780) { |