]>
Commit | Line | Data |
---|---|---|
1 | diff -urN busybox-1.00-pre2.org/console-tools/loadfont.c busybox-1.00-pre2/console-tools/loadfont.c | |
2 | --- busybox-1.00-pre2.org/console-tools/loadfont.c 2003-08-02 23:46:48.000000000 +0200 | |
3 | +++ busybox-1.00-pre2/console-tools/loadfont.c 2003-08-02 23:47:38.000000000 +0200 | |
4 | @@ -185,8 +185,10 @@ | |
5 | head0 = sizeof(struct psf_header); | |
6 | ||
7 | head = head0 + fontsize * unit; | |
8 | + /* | |
9 | if (head > inputlth || (!hastable && head != inputlth)) | |
10 | bb_error_msg_and_die("Input file: bad length"); | |
11 | + */ | |
12 | do_loadfont(fd, inbuf + head0, unit, fontsize); | |
13 | if (hastable) | |
14 | do_loadtable(fd, inbuf + head, inputlth - head, fontsize); |