Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into...
[vuplus_openembedded] / packages / tuxbox / files / libtuxtxt_bugfix.patch
1 diff -Naur libs/libtuxtxt/tuxtxt_common.h libs_patched/libtuxtxt/tuxtxt_common.h
2 --- libs_org/libtuxtxt/tuxtxt_common.h  2005-09-11 15:34:56.000000000 +0200
3 +++ libs/libtuxtxt/tuxtxt_common.h      2006-10-04 11:41:01.000000000 +0200
4 @@ -888,6 +888,11 @@
5                                                                 p->subpage = d2 >> 2;
6                                                                 if ((p->page & 0xff) == 0xff)
7                                                                         p->page = 0;
8 +                                                               else if (p->page > 0x899)
9 +                                                               {
10 +                                                                       printf("[TuxTxt] page > 0x899 ... ignore!!!!!!\n");
11 +                                                                       continue;
12 +                                                               }
13                                                                 else if (tuxtxt_cache.astCachetable[p->page][0])        /* link valid && linked page cached */
14                                                                 {
15                                                                         tstPageinfo *pageinfo_link = &(tuxtxt_cache.astCachetable[p->page][0]->pageinfo);