[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suspicious code in unexelf.c
From: |
Dave Love |
Subject: |
Re: Suspicious code in unexelf.c |
Date: |
25 Nov 2001 17:54:53 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30 |
>>>>> "DK" == David Kaelbling <drk@bobo.hudson.sgi.com> writes:
DK> Looking at unexelf.c, I see the following around line 1001:
DK> || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
DK> ".sdata1")
DK> || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
DK> ".data1")
DK> || !strcmp (old_section_names + NEW_SECTION_H (nn).sh_name,
DK> ".sbss"))
DK> src = (caddr_t) OLD_SECTION_H (n).sh_addr;
DK> else
DK> src = old_base + OLD_SECTION_H (n).sh_offset;
DK> Should .sbss really be using "nn" when all the other tests use "n"?
I don't think so. I guess it's a typo of mine.