projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c685667
)
Re-enable rdlen vs dl header check
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 3 Jul 2009 09:13:54 +0000
(12:13 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 3 Jul 2009 09:13:54 +0000
(12:13 +0300)
- we dont even read packages from the "8/98 bug" era anymore, hardly relevant
lib/header.c
patch
|
blob
|
history
diff --git
a/lib/header.c
b/lib/header.c
index
e89de64
..
20ef3c6
100644
(file)
--- a/
lib/header.c
+++ b/
lib/header.c
@@
-880,10
+880,8
@@
Header headerLoad(void * uh)
entry->data = pe;
entry->length = pvlen - sizeof(il) - sizeof(dl);
rdlen = regionSwab(entry+1, il, 0, pe, dataStart, dataEnd, entry->info.offset);
-#if 0 /* XXX don't check, the 8/98 i18n bug fails here. */
if (rdlen != dl)
goto errxit;
-#endif
entry->rdlen = rdlen;
entry++;
h->indexUsed++;