1 From: "Steven M. Schweda" <sms@antinode.info>
2 Subject: Do not ignore extra fields containing Unix Timestamps
3 Bug-Debian: https://bugs.debian.org/842993
4 X-Debian-version: 6.0-21
8 @@ -2914,10 +2914,13 @@
12 - if (have_new_type_eb == 0) {
13 - flags &= ~0x0ff; /* ignore any previous IZUNIX field */
14 + if (have_new_type_eb == 0) { /* (< 1) */
17 + if (have_new_type_eb <= 1) {
18 + /* Ignore any prior (EF_IZUNIX/EF_PKUNIX) UID/GID. */
21 #ifdef IZ_HAVE_UXUIDGID
22 if (have_new_type_eb > 1)
23 break; /* IZUNIX3 overrides IZUNIX2 e.f. block ! */
25 /* new 3rd generation Unix ef */
28 + /* Ignore any prior EF_IZUNIX/EF_PKUNIX/EF_IZUNIX2 UID/GID. */
31 Version 1 byte version of this extra field, currently 1
32 UIDSize 1 byte Size of UID field
34 uid_size = *((EB_HEADSIZE + 1) + ef_buf);
35 gid_size = *((EB_HEADSIZE + uid_size + 2) + ef_buf);
37 - flags &= ~0x0ff; /* ignore any previous UNIX field */
39 if ( read_ux3_value((EB_HEADSIZE + 2) + ef_buf,
40 uid_size, &z_uidgid[0])