]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-loadfont.patch
- up to 1.8.2
[packages/busybox.git] / busybox-loadfont.patch
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 @@
4                 head0 = sizeof(struct psf_header);
5  
6                 head = head0 + fontsize * unit;
7 +               /*
8                 if (head > inputlth || (!hastable && head != inputlth))
9                         bb_error_msg_and_die("input file: bad length");
10 +                */
11                 do_loadfont(fd, inbuf + head0, unit, fontsize);
12                 if (hastable)
13                         do_loadtable(fd, inbuf + head, inputlth - head, fontsize);
This page took 0.08378 seconds and 3 git commands to generate.