Opened 8 months ago

Closed 8 months ago

#5324 closed enhancement (fixed)

zlib-1.3

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.1
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (6)

comment:1 by Xi Ruoyao, 8 months ago

Version 1.3 has these key updates from 1.2.13:

  • Building using K&R (pre-ANSI) function definitions is no longer supported.
  • Fixed a bug in deflateBound() for level 0 and memLevel 9.
  • Fixed a bug when gzungetc() is used immediately after gzopen().
  • Fixed a bug when using gzflush() with a very small buffer.
  • Fixed a crash when gzsetparams() is attempted for a transparent write.
  • Fixed test/example.c to work with FORCE_STORED.
  • Fixed minizip to allow it to open an empty zip file.
  • Fixed reading disk number start on zip64 files in minizip.
  • Fixed a logic error in minizip argument processing.

comment:2 by thomas, 8 months ago

There's a report on IRC

<r1c0n3r0> meh... OpenSSH fails with zlib1.3 installed, 
https://bugzilla.mindrot.org/show_bug.cgi?id=3604 , 
fix: https://github.com/openssh/openssh-portable/commit
 cb4ed12ffc332d1f72d054ed92655b5f1c38f621

(i've neither checked the fail nor the patch)

Last edited 8 months ago by Bruce Dubbs (previous) (diff)

in reply to:  2 comment:3 by Xi Ruoyao, 8 months ago

Replying to thomas:

There's a report on IRC

See comment 2

(i've neither checked the fail nor the patch)

We can just pass --without-zlib-version-check instead of patching it. Anyway we know we don't have zlib < 1.2.3 (zlib-1.2.2.4 was released in 2004 :).

Last edited 8 months ago by Bruce Dubbs (previous) (diff)

comment:4 by Bruce Dubbs, 8 months ago

Owner: changed from lfs-book to Bruce Dubbs
Status: newassigned

comment:5 by Bruce Dubbs, 8 months ago

If needed, openssh can be fixed with a sed.

configure.ac in openssh:

   n = sscanf(ZLIB_VERSION, "%d.%d.%d.%d", &a, &b, &c, &d);
-  if (n != 3 && n != 4)
+  if (n < 1)
	exit(1);

comment:6 by Bruce Dubbs, 8 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.