delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/22/22:36:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=EoXDybPpJ0Awcs82
8oL5cEf/hrAm3NoHDLM80zOkeFSXElJD2XvfShEPphOEOt2chu8nM82perC5gmNq
mUZQqq1lAPVViqVSw6sow+zcmm3Cc3pkwNLKJmzU7frG2zGSWJErnbMZMm7HPHhI
eIIMgnVLLUp6VvcUhxY4gFcfDio=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=ELaexCYg2D1xLaz/VSH9MT
wBFDs=; b=uOapEjKEDMUBkDYIXROQ9+ZwJrWAzcR1K5lL9z51u770vR8O1r3sTW
xYaIIexBYRPVKK46HLY+CY5Mc4r7y+UL3cGnJU16RL2zEG8Ql9H2jy9RQHOePKLs
ysjAu9wfK8AI/KTxM9arQjOEEIogHVH5V/2w89esOJVw42gMsQTbU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.5 required=5.0 tests=AWL,BAYES_99,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,RCVD_IN_JMF_BL,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Mon, 23 Feb 2015 06:10:23 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <11044324.20150223061023@yandex.ru>
To: Michael DePaulo <mikedep333 AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Cygwin DLLs being modified somehow?
In-Reply-To: <CAMKht8jUmyh9==NdBHLs52CcgSXrxKTtx9m_+UJYqd+=+3vvrg@mail.gmail.com>
References: <CAMKht8jUmyh9==NdBHLs52CcgSXrxKTtx9m_+UJYqd+=+3vvrg AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Michael DePaulo!

> I am seeing very weird behavior and I am hoping that someone can explain it.

> This happens on 2 different machines. My personal Windows 10 64-bit
> machine, and a Windows 7 64-bit VM hosted by the X2Go project on
> another continent.

> It seems to be happening to multiple DLLs, but I will list one example below.

> I install 32-bit Cygwin with the 2.870 installer

> libopenssl100 is one of the packages that gets installed. It is at
> version. 1.0.1k-1

> /bin/cygcrypto-1.0.0.dll always appears to be 1,820,199 bytes, and it
> always appears to be last modified on 1/8/2015 20:30 UTC.

> When I extract it from the tarball:
> Its md5sum is:
> c79b900428d91e5882c24bbb6bc36969
> And its sha256sum is:
> 53376a3d69be996cb71abda41b7cc6bea7a599b027fe819323fafc3c433b7767

> Yet on both systems, once installed, its m5sum and sha1sum differ!

> On my personal machine
> 8b6881e6aab4b8438a6db784003a39fb
> 0a4db441c5faff305b28bcddbaeae91d824ed7b39146a55f423d970d362fe6df

> On the X2Go project machine:
> 3ebfce45e66f227bc8f753ad1ef314a7
> 9305561f1417f2121ae2f05fd64ca9405814f757ab1eee8a4746963520e1724f

> I do not know assembly. Another X2Go Developer, Mihai Moldovan (CC'd)
> and I took a brief look at the disassembled output from objdump. It
> looks like the addresses differ.

It's called rebase.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 23.02.2015, <06:10>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019