ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] libpng-1.2.6 bug (was: perl-GD1-1.41-alt5: rebuild failed)
  @ 2004-09-07  9:00   ` Alexey Tourbin
  2004-09-07 11:31     ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Tourbin @ 2004-09-07  9:00 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

On Thu, Sep 02, 2004 at 01:47:57PM +0400, QA Team Robot wrote:
> Package: perl-GD1-1.41-alt5
> Packager: DH <dh@altlinux>
> Build Statistics:
> 	9 time(s) (last time: Wed Jun 09 2004) by DH <dh@altlinux>
> 	1 time(s) (last time: Tue Nov 05 2002) by Dmitry V. Levin <ldv@altlinux>
> 	1 time(s) (last time: Tue Oct 30 2001) by Stanislav Ievlev <inger@altlinux>
> Status: rebuild failed.
> Please investigate.

On Thu, Sep 02, 2004 at 01:47:57PM +0400, QA Team Robot wrote:
> Package: perl-GD2-1:2.16-alt1
> Packager: DH <dh@altlinux>
> Status: rebuild failed.
> Please investigate.

ЭТО из-за libpng.
Кажется мы выловили эту самую ошибку...

http://libpng.sourceforge.net/

UPDATE 20 August 2004: In the rush to get libpng-1.2.6 out to solve the
vulnerability described below, a bug was introduced that causes almost
all PNG output files to be written with incorrect zlib header bytes.
A patch has been posted along with the libpng-1.2.6 sources, and
libpng-1.2.7 will fix this problem. 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] libpng-1.2.6 bug (was: perl-GD1-1.41-alt5: rebuild failed)
  2004-09-07  9:00   ` [devel] libpng-1.2.6 bug (was: perl-GD1-1.41-alt5: rebuild failed) Alexey Tourbin
@ 2004-09-07 11:31     ` Dmitry V. Levin
  2004-09-08 15:25       ` [devel] " Alexey Tourbin
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2004-09-07 11:31 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

On Tue, Sep 07, 2004 at 01:00:08PM +0400, Alexey Tourbin wrote:
> On Thu, Sep 02, 2004 at 01:47:57PM +0400, QA Team Robot wrote:
> > Package: perl-GD1-1.41-alt5
> > Packager: DH <dh@altlinux>
> > Build Statistics:
> > 	9 time(s) (last time: Wed Jun 09 2004) by DH <dh@altlinux>
> > 	1 time(s) (last time: Tue Nov 05 2002) by Dmitry V. Levin <ldv@altlinux>
> > 	1 time(s) (last time: Tue Oct 30 2001) by Stanislav Ievlev <inger@altlinux>
> > Status: rebuild failed.
> > Please investigate.
> 
> On Thu, Sep 02, 2004 at 01:47:57PM +0400, QA Team Robot wrote:
> > Package: perl-GD2-1:2.16-alt1
> > Packager: DH <dh@altlinux>
> > Status: rebuild failed.
> > Please investigate.
> 
> ЭТО из-за libpng.
> Кажется мы выловили эту самую ошибку...
> 
> http://libpng.sourceforge.net/
> 
> UPDATE 20 August 2004: In the rush to get libpng-1.2.6 out to solve the
> vulnerability described below, a bug was introduced that causes almost
> all PNG output files to be written with incorrect zlib header bytes.
> A patch has been posted along with the libpng-1.2.6 sources, and
> libpng-1.2.7 will fix this problem. 

Однако
http://prdownloads.sourceforge.net/libpng/libpng-1.2.6-patch-pngwutil.txt
пересобраться пакетам perl-GD* не помогает...


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [devel] Re: libpng-1.2.6 bug (was: perl-GD1-1.41-alt5: rebuild failed)
  2004-09-07 11:31     ` Dmitry V. Levin
@ 2004-09-08 15:25       ` Alexey Tourbin
  2004-09-08 18:45         ` Alexey Tourbin
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Tourbin @ 2004-09-08 15:25 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

On Tue, Sep 07, 2004 at 03:31:39PM +0400, Dmitry V. Levin wrote:
> Однако
> http://prdownloads.sourceforge.net/libpng/libpng-1.2.6-patch-pngwutil.txt
> пересобраться пакетам perl-GD* не помогает...

Помогает, но не целиком.  Вернее, целиком, но не полностью. :)
Если приложить этот патч, то число успешных тестов возрастает (GD2):

Failed 1/2 test scripts, 50.00% okay. 8/11 subtests failed, 27.27% okay.
Failed 1/2 test scripts, 50.00% okay. 3/11 subtests failed, 72.73% okay.

> -- 
> ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [devel] Re: libpng-1.2.6 bug (was: perl-GD1-1.41-alt5: rebuild failed)
  2004-09-08 15:25       ` [devel] " Alexey Tourbin
@ 2004-09-08 18:45         ` Alexey Tourbin
  0 siblings, 0 replies; 4+ messages in thread
From: Alexey Tourbin @ 2004-09-08 18:45 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]

On Wed, Sep 08, 2004 at 07:25:28PM +0400, Alexey Tourbin wrote:
> On Tue, Sep 07, 2004 at 03:31:39PM +0400, Dmitry V. Levin wrote:
> > Однако
> > http://prdownloads.sourceforge.net/libpng/libpng-1.2.6-patch-pngwutil.txt
> > пересобраться пакетам perl-GD* не помогает...
> 
> Помогает, но не целиком.  Вернее, целиком, но не полностью. :)
> Если приложить этот патч, то число успешных тестов возрастает (GD2):
> 
> Failed 1/2 test scripts, 50.00% okay. 8/11 subtests failed, 27.27% okay.
> Failed 1/2 test scripts, 50.00% okay. 3/11 subtests failed, 72.73% okay.

Разобрался.  Этот патч состоит из 2 частей: первая часть добавляет код,
который занимается оптимизацией (уменьшением) zlib_window_bits; вторая часть --
полностью убирает код оптимизации, который появился только в 1.2.6 (и о
котором, по-видимому, речь идет в анонсе).

Если приложить только вторую часть патча (которая убирает оптимизацию),
то все тесты perl-GD* проходят.

С другой стороны, тетсы состоят в том, что с помощью GD создается
изображение и сравнивается с эталонным файлом (который был создан
с помощью более ранней версии libpng).  Так что, возможно, новые
изображения вполне корректны, просто они не совпадают с эталонными
файлами.

> > -- 
> > ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-08 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-07  9:00   ` [devel] libpng-1.2.6 bug (was: perl-GD1-1.41-alt5: rebuild failed) Alexey Tourbin
2004-09-07 11:31     ` Dmitry V. Levin
2004-09-08 15:25       ` [devel] " Alexey Tourbin
2004-09-08 18:45         ` Alexey Tourbin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git