summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/krtld
diff options
context:
space:
mode:
authorsetje <none@none>2008-05-08 13:25:47 -0700
committersetje <none@none>2008-05-08 13:25:47 -0700
commit7975540170826a816320fa0cf07ba06a66c4252d (patch)
treec37674a0851161d8d9dab34f6ef28d84279c84bc /usr/src/uts/common/krtld
parent63c99f9316851ebfab1e6d91ff1807739e55bd5b (diff)
downloadillumos-joyent-7975540170826a816320fa0cf07ba06a66c4252d.tar.gz
6654900 prtconf retreives non ascii character that attachs to the machine type
6667053 pse array size calculation is broken by newboot putback 6668123 archive creation should not be limited to sun4u and sun4v 6673009 Solaris does not boot with SUNW,Netra-T5440 platform path anymore after new boot putback in snv_80 6698810 kobj_open()'ing tiny compressed files results in corrupt data
Diffstat (limited to 'usr/src/uts/common/krtld')
-rw-r--r--usr/src/uts/common/krtld/kobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/krtld/kobj.c b/usr/src/uts/common/krtld/kobj.c
index 28bd94c7c9..20352979f5 100644
--- a/usr/src/uts/common/krtld/kobj.c
+++ b/usr/src/uts/common/krtld/kobj.c
@@ -3921,7 +3921,7 @@ kobj_uncomp_blk(struct _buf *file, char *buf, uint_t off)
i = off / file->_bsize;
src = file->_dbuf + hdr->ch_blkmap[i];
if (i == hdr->ch_fsize / file->_bsize)
- slen = hdr->ch_fsize - hdr->ch_blkmap[i];
+ slen = file->_dsize - hdr->ch_blkmap[i];
else
slen = hdr->ch_blkmap[i + 1] - hdr->ch_blkmap[i];
if (z_uncompress(buf, &dlen, src, slen) != Z_OK)