]>
Commit | Line | Data |
---|---|---|
c818a1f2 JB |
1 | --- busybox-1.3.1/console-tools/loadfont.c.orig 2006-12-27 05:54:01.000000000 +0100 |
2 | +++ busybox-1.3.1/console-tools/loadfont.c 2006-12-30 12:29:56.698666552 +0100 | |
3 | @@ -169,8 +169,10 @@ | |
840e1d60 | 4 | head0 = sizeof(struct psf_header); |
5 | ||
6 | head = head0 + fontsize * unit; | |
dd21d438 AM |
7 | + /* |
8 | if (head > inputlth || (!hastable && head != inputlth)) | |
c818a1f2 JB |
9 | bb_error_msg_and_die("input file: bad length"); |
10 | + */ | |
840e1d60 | 11 | do_loadfont(fd, inbuf + head0, unit, fontsize); |
12 | if (hastable) | |
13 | do_loadtable(fd, inbuf + head, inputlth - head, fontsize); |