delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/24/01:40:28

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D5DB39858A8
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1592976657;
bh=omX8H9Xwqae1wVkkjme6pDySI2yQVbKXqPynpbSj3IE=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=nCoIBeSyYYrqvLfEK/q3oR0rI4QFoEr3AV9+WP/sXzx3GFagGjNMl+m/kFmNLdOGr
IhgAeactFvA3C5Ajr15HrgDf4IiAFsUjn8adZEIIMPWCDaNY59+SHtTv4zAs9bFYac
dK9jhB3VSrm4VFC5JHkToG+Wlq9SanhMCH3MCCaw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 58A91388C00D
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:from:to:references:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=yBlZwxHY88+CHhbQCDBnGaeYHxU0IXqc9ETVfNea2gE=;
b=AsqHMDusUDFOGvP6Lvnp2jmtoudB/bAHVOue8F06/ffue89kGFwOD2yBysoeq++NFE
+r4vhN3BTubpOzazefW2xEWva5KleE8Szurska9jlSZGjk8UeLHxIERJh5C2cWfLXbur
ibi7qYSvJhF664MREPEM8UhmVdQjJ3OeF5JeS6sFKESqT7qXLwrGuOUrI91l//mIW7DX
lRErPE9UibmsmyKX0si5Q7jYLLG8n7kzCEpV9vFS8/TTbdFhADKgw+4Kxja0dV0y27Zx
ji6rFSGZiNVTg9r7iHUj26+JPwzj9cJ63jw+xcleJTmsnZHdif2r/a7N8Kzetmwwftpn
aNfQ==
X-Gm-Message-State: AOAM532nPoQfAS2seIrvkuyZf115vAU8ChkW5/UILsfh+Ug7q8y/DLRQ
+gjMusnhiKNWfIaxcG+ePlaEQurN
X-Google-Smtp-Source: ABdhPJyWacyk+RglFLDmW7GuETNywvT1oAgzj1XCGrKXe8s9N4/qA0eq8Z2Tjb7TWK5wc4Isk3JbPg==
X-Received: by 2002:adf:ec01:: with SMTP id x1mr7706902wrn.59.1592976652218;
Tue, 23 Jun 2020 22:30:52 -0700 (PDT)
Subject: Re: ImageMagick maybe broken by libgs9 upgrade
To: cygwin AT cygwin DOT com
References: <241354771 DOT 1752406 DOT 1592876221936 DOT ref AT mail DOT yahoo DOT com>
<241354771 DOT 1752406 DOT 1592876221936 AT mail DOT yahoo DOT com>
<92b51d45-55b5-33e1-c1c7-883094b6b09b AT cornell DOT edu>
<134f371b-8989-4ed7-2209-acc486960d65 AT cornell DOT edu>
<0dd00cea6dd675142ca617d2caf5d818 AT mhoenicka DOT de>
<3d65999c-c82c-0b75-925b-d799a7e8f98c AT gmail DOT com>
<18a9c001-03cc-1538-99aa-7ea87630abe5 AT cornell DOT edu>
<df040576-8ce9-51ac-8c92-97e44ac9dedd AT cornell DOT edu>
<6744da4c-ed95-ca9b-3e07-2adc7ea9f36f AT gmail DOT com>
Message-ID: <a1918811-4766-4383-7469-3f6e6921dc3b@gmail.com>
Date: Wed, 24 Jun 2020 07:30:50 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.9.0
MIME-Version: 1.0
In-Reply-To: <6744da4c-ed95-ca9b-3e07-2adc7ea9f36f@gmail.com>
X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 05O5eA0B028424

On 23.06.2020 23:02, Marco Atzeri wrote:
> On 23.06.2020 22:56, Ken Brown via Cygwin wrote:
>>
>> I think I've found the problem, although it will take patching and 
>> rebuilding ImageMagick (which I haven't done) to confirm that I'm right.
>>
>> In the ImageMagick source file coders/ps.c:237, there's a call to 
>> ghost_info->new_instance, a.k.a. gsapi_new_instance (see line 214).  
>> The documentation of the latter in the ghostscript sources 
>> (psi/iapi.c:57) says that the first argument pinstance should satisfy 
>> *pinstance == NULL in the first call to that function.
>>
>> But *pinstance in this call is the variable 'interpreter', defined 
>> without initialization in ps.c:191.  As a result, **pinstance contains 
>> garbage, and the program eventually crashes when it tries to 
>> dereference a garbage pointer.
>>
>> The fix, if I'm right, is to initialize interpreter to NULL in ps.c:191.
>>
>> Ken
> 
> Noted.
> 
> Regards
> MArco
> 

a test ImageMagick-6.9.10.11-3 is going up.
Let me know if it solves the problem

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

- Raw text -


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