Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r test/build/core/build_id.mk test2/build/core/build_id.mk
- 21c21
- < export BUILD_ID=FRK76C
- ---
- > export BUILD_ID=FRG83G
- diff -r test/build/core/version_defaults.mk test2/build/core/version_defaults.mk
- 44c44
- < PLATFORM_VERSION := 2.2.3
- ---
- > PLATFORM_VERSION := 2.2.2
- 98a99
- >
- diff -r test/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/PKIXCertPathValidatorSpi.java test2/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/PKIXCertPathValidatorSpi.java
- 36,38d35
- < // BEGIN android-added
- < import org.apache.harmony.xnet.provider.jsse.OpenSSLMessageDigest;
- < // END android-added
- 57,59d53
- < // BEGIN android-added
- < import org.bouncycastle.crypto.Digest;
- < // END android-added
- 100,155c94,95
- <
- < // BEGIN android-added
- < // From http://src.chromium.org/viewvc/chrome/trunk/src/net/base/x509_certificate.cc?revision=78748&view=markup
- < private static final Set<BigInteger> SERIAL_BLACKLIST = new HashSet<BigInteger>(Arrays.asList(
- < // Not a real certificate. For testing only.
- < new BigInteger(1, new byte[] {(byte)0x07,(byte)0x7a,(byte)0x59,(byte)0xbc,(byte)0xd5,(byte)0x34,(byte)0x59,(byte)0x60,(byte)0x1c,(byte)0xa6,(byte)0x90,(byte)0x72,(byte)0x67,(byte)0xa6,(byte)0xdd,(byte)0x1c}),
- < new BigInteger(1, new byte[] {(byte)0x04,(byte)0x7e,(byte)0xcb,(byte)0xe9,(byte)0xfc,(byte)0xa5,(byte)0x5f,(byte)0x7b,(byte)0xd0,(byte)0x9e,(byte)0xae,(byte)0x36,(byte)0xe1,(byte)0x0c,(byte)0xae,(byte)0x1e}),
- < new BigInteger(1, new byte[] {(byte)0xd8,(byte)0xf3,(byte)0x5f,(byte)0x4e,(byte)0xb7,(byte)0x87,(byte)0x2b,(byte)0x2d,(byte)0xab,(byte)0x06,(byte)0x92,(byte)0xe3,(byte)0x15,(byte)0x38,(byte)0x2f,(byte)0xb0}),
- < new BigInteger(1, new byte[] {(byte)0xb0,(byte)0xb7,(byte)0x13,(byte)0x3e,(byte)0xd0,(byte)0x96,(byte)0xf9,(byte)0xb5,(byte)0x6f,(byte)0xae,(byte)0x91,(byte)0xc8,(byte)0x74,(byte)0xbd,(byte)0x3a,(byte)0xc0}),
- < new BigInteger(1, new byte[] {(byte)0x92,(byte)0x39,(byte)0xd5,(byte)0x34,(byte)0x8f,(byte)0x40,(byte)0xd1,(byte)0x69,(byte)0x5a,(byte)0x74,(byte)0x54,(byte)0x70,(byte)0xe1,(byte)0xf2,(byte)0x3f,(byte)0x43}),
- < new BigInteger(1, new byte[] {(byte)0xe9,(byte)0x02,(byte)0x8b,(byte)0x95,(byte)0x78,(byte)0xe4,(byte)0x15,(byte)0xdc,(byte)0x1a,(byte)0x71,(byte)0x0a,(byte)0x2b,(byte)0x88,(byte)0x15,(byte)0x44,(byte)0x47}),
- < new BigInteger(1, new byte[] {(byte)0xd7,(byte)0x55,(byte)0x8f,(byte)0xda,(byte)0xf5,(byte)0xf1,(byte)0x10,(byte)0x5b,(byte)0xb2,(byte)0x13,(byte)0x28,(byte)0x2b,(byte)0x70,(byte)0x77,(byte)0x29,(byte)0xa3}),
- < new BigInteger(1, new byte[] {(byte)0xf5,(byte)0xc8,(byte)0x6a,(byte)0xf3,(byte)0x61,(byte)0x62,(byte)0xf1,(byte)0x3a,(byte)0x64,(byte)0xf5,(byte)0x4f,(byte)0x6d,(byte)0xc9,(byte)0x58,(byte)0x7c,(byte)0x06}),
- < new BigInteger(1, new byte[] {(byte)0x39,(byte)0x2a,(byte)0x43,(byte)0x4f,(byte)0x0e,(byte)0x07,(byte)0xdf,(byte)0x1f,(byte)0x8a,(byte)0xa3,(byte)0x05,(byte)0xde,(byte)0x34,(byte)0xe0,(byte)0xc2,(byte)0x29}),
- < new BigInteger(1, new byte[] {(byte)0x3e,(byte)0x75,(byte)0xce,(byte)0xd4,(byte)0x6b,(byte)0x69,(byte)0x30,(byte)0x21,(byte)0x21,(byte)0x88,(byte)0x30,(byte)0xae,(byte)0x86,(byte)0xa8,(byte)0x2a,(byte)0x71})
- < ));
- <
- < // From http://src.chromium.org/viewvc/chrome/branches/782/src/net/base/x509_certificate.cc?r1=98750&r2=98749&pathrev=98750
- < private static final byte[][] PUBLIC_KEY_SHA1_BLACKLIST = {
- < // C=NL, O=DigiNotar, CN=DigiNotar Root CA/[email protected]
- < {(byte)0x41, (byte)0x0f, (byte)0x36, (byte)0x36, (byte)0x32, (byte)0x58, (byte)0xf3, (byte)0x0b, (byte)0x34, (byte)0x7d,
- < (byte)0x12, (byte)0xce, (byte)0x48, (byte)0x63, (byte)0xe4, (byte)0x33, (byte)0x43, (byte)0x78, (byte)0x06, (byte)0xa8},
- < // Subject: CN=DigiNotar Cyber CA
- < // Issuer: CN=GTE CyberTrust Global Root
- < {(byte)0xba, (byte)0x3e, (byte)0x7b, (byte)0xd3, (byte)0x8c, (byte)0xd7, (byte)0xe1, (byte)0xe6, (byte)0xb9, (byte)0xcd,
- < (byte)0x4c, (byte)0x21, (byte)0x99, (byte)0x62, (byte)0xe5, (byte)0x9d, (byte)0x7a, (byte)0x2f, (byte)0x4e, (byte)0x37},
- < // Subject: CN=DigiNotar Services 1024 CA
- < // Issuer: CN=Entrust.net
- < {(byte)0xe2, (byte)0x3b, (byte)0x8d, (byte)0x10, (byte)0x5f, (byte)0x87, (byte)0x71, (byte)0x0a, (byte)0x68, (byte)0xd9,
- < (byte)0x24, (byte)0x80, (byte)0x50, (byte)0xeb, (byte)0xef, (byte)0xc6, (byte)0x27, (byte)0xbe, (byte)0x4c, (byte)0xa6},
- < // Subject: CN=DigiNotar PKIoverheid CA Organisatie - G2
- < // Issuer: CN=Staat der Nederlanden Organisatie CA - G2
- < {(byte)0x7b, (byte)0x2e, (byte)0x16, (byte)0xbc, (byte)0x39, (byte)0xbc, (byte)0xd7, (byte)0x2b, (byte)0x45, (byte)0x6e,
- < (byte)0x9f, (byte)0x05, (byte)0x5d, (byte)0x1d, (byte)0xe6, (byte)0x15, (byte)0xb7, (byte)0x49, (byte)0x45, (byte)0xdb},
- < // Subject: CN=DigiNotar PKIoverheid CA Overheid en Bedrijven
- < // Issuer: CN=Staat der Nederlanden Overheid CA
- < {(byte)0xe8, (byte)0xf9, (byte)0x12, (byte)0x00, (byte)0xc6, (byte)0x5c, (byte)0xee, (byte)0x16, (byte)0xe0, (byte)0x39,
- < (byte)0xb9, (byte)0xf8, (byte)0x83, (byte)0x84, (byte)0x16, (byte)0x61, (byte)0x63, (byte)0x5f, (byte)0x81, (byte)0xc5}
- < };
- <
- < private static boolean isPublicKeyBlackListed(PublicKey publicKey) {
- < byte[] encoded = publicKey.getEncoded();
- < Digest digest = OpenSSLMessageDigest.getInstance("SHA1");
- < digest.update(encoded, 0, encoded.length);
- < byte[] out = new byte[digest.getDigestSize()];
- < digest.doFinal(out, 0);
- <
- < for (byte[] sha1 : PUBLIC_KEY_SHA1_BLACKLIST) {
- < if (Arrays.equals(out, sha1)) {
- < return true;
- < }
- < }
- < return false;
- < }
- < // END android-added
- <
- ---
- >
- >
- 186,201d125
- < // BEGIN android-added
- < {
- < X509Certificate cert = (X509Certificate) certs.get(0);
- <
- < if (cert != null) {
- < BigInteger serial = cert.getSerialNumber();
- < if (serial != null && SERIAL_BLACKLIST.contains(serial)) {
- < // emulate CRL exception message in RFC3280CertPathUtilities.checkCRLs
- < String message = "Certificate revocation of serial 0x" + serial.toString(16);
- < System.out.println(message);
- < AnnotatedException e = new AnnotatedException(message);
- < throw new CertPathValidatorException(e.getMessage(), e, certPath, 0);
- < }
- < }
- < }
- < // END android-added
- 385,393d308
- < // BEGIN android-added
- < if (isPublicKeyBlackListed(workingPublicKey)) {
- < // emulate CRL exception message in RFC3280CertPathUtilities.checkCRLs
- < String message = "Certificate revocation of public key " + workingPublicKey;
- < System.out.println(message);
- < AnnotatedException e = new AnnotatedException(message);
- < throw new CertPathValidatorException(e.getMessage(), e, certPath, index);
- < }
- < // END android-added
- diff -r test/external/libpng/ANNOUNCE test2/external/libpng/ANNOUNCE
- 2c2
- < Libpng 1.2.46 - July 9, 2011
- ---
- > Libpng 1.2.44 - June 26, 2010
- 11,13c11,13
- < libpng-1.2.46.tar.xz (LZMA-compressed, recommended)
- < libpng-1.2.46.tar.gz
- < libpng-1.2.46.tar.bz2
- ---
- > libpng-1.2.44.tar.xz (LZMA-compressed, recommended)
- > libpng-1.2.44.tar.gz
- > libpng-1.2.44.tar.bz2
- 18,20c18,20
- < libpng-1.2.46-no-config.tar.xz (LZMA-compressed, recommended)
- < libpng-1.2.46-no-config.tar.gz
- < libpng-1.2.46-no-config.tar.bz2
- ---
- > libpng-1.2.44-no-config.tar.xz (LZMA-compressed, recommended)
- > libpng-1.2.44-no-config.tar.gz
- > libpng-1.2.44-no-config.tar.bz2
- 25,27c25,27
- < lpng1246.zip
- < lpng1246.7z
- < lpng1246.tar.bz2
- ---
- > lpng1244.zip
- > lpng1244.7z
- > lpng1244.tar.bz2
- 31,32c31,32
- < libpng-1.2.46-project-netware.zip
- < libpng-1.2.46-project-wince.zip
- ---
- > libpng-1.2.44-project-netware.zip
- > libpng-1.2.44-project-wince.zip
- 36,40c36,40
- < libpng-1.2.46-README.txt
- < libpng-1.2.46-KNOWNBUGS.txt
- < libpng-1.2.46-LICENSE.txt
- < libpng-1.2.46-Y2K-compliance.txt
- < libpng-1.2.46-[previous version]-diff.txt
- ---
- > libpng-1.2.44-README.txt
- > libpng-1.2.44-KNOWNBUGS.txt
- > libpng-1.2.44-LICENSE.txt
- > libpng-1.2.44-Y2K-compliance.txt
- > libpng-1.2.44-[previous version]-diff.txt
- 44c44,48
- < version 1.2.45 [July 9, 2011]
- ---
- > version 1.2.44 [June 26, 2010]
- >
- > Rewrote png_process_IDAT_data to consistently treat extra data as warnings
- > and handle end conditions more cleanly.
- > Removed the now-redundant check for out-of-bounds new_row from example.c
- 46,58d49
- < Fixed uninitialized memory read in png_format_buffer() (Bug
- < report by Frank Busse, related to CVE-2004-0421).
- < Pass "" instead of '\0' to png_default_error() in png_err(). This mistake
- < was introduced in libpng-1.2.20beta01.
- < Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
- < before IDAT.
- < Ported bugfix in pngrtran.c from 1.5.3: when expanding a paletted image,
- < always expand to RGBA if transparency is present.
- < Check for integer overflow in png_set_rgb_to_gray().
- < Check for sCAL chunk too short.
- < Added CMakeLists.txt, projects/xcode, and pnggccrd.c to EXTRA_DIST in
- < Makefile.am and Makefile.in
- < Udated copyright year to 2011.
- 60a52
- >
- diff -r test/external/libpng/CHANGES test2/external/libpng/CHANGES
- 1481c1481
- < More cleanup of configure.ac, Makefile.am, and associated scripts.
- ---
- > More cleanup of configure.ac, Makefile.ac, and associated scripts.
- 2706,2737d2705
- <
- < version 1.2.45beta01 [June 7, 2011]
- < Fixed uninitialized memory read in png_format_buffer() (Bug
- < report by Frank Busse, related to CVE-2004-0421).
- < Pass "" instead of '\0' to png_default_error() in png_err(). This mistake
- < was introduced in libpng-1.2.20beta01.
- < Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
- < before IDAT.
- < Ported bugfix in pngrtran.c from 1.5.3: when expanding a paletted image,
- < always expand to RGBA if transparency is present.
- <
- < version 1.2.45beta02 [June 8, 2011]
- < Check for integer overflow in png_set_rgb_to_gray().
- <
- < version 1.2.45beta03 [June 19, 2011]
- < Check for sCAL chunk too short.
- <
- < version 1.2.45rc01 and 1.0.55rc01 [June 30, 2011]
- < Updated "last changed" dates and copyright year.
- <
- < version 1.2.45 and 1.0.55 [July 7, 2011]
- < No changes.
- <
- < version 1.2.46rc01 and 1.0.56rc01 [July 8, 2011]
- < Reverted changes to Makefile.am and Makefile.in to libpng-1.2.44 versions.
- <
- < version 1.2.46rc02 and 1.0.56rc02 [July 8, 2011]
- < Added CMakeLists.txt, projects/xcode, and pnggccrd.c to EXTRA_DIST in
- < Makefile.am and Makefile.in
- <
- < version 1.2.46 and 1.0.56 [July 9, 2011]
- < Udated copyright year to 2011.
- diff -r test/external/libpng/CMakeLists.txt test2/external/libpng/CMakeLists.txt
- 25c25
- < set(PNGLIB_RELEASE 46)
- ---
- > set(PNGLIB_RELEASE 44)
- 218c218
- < # VERSION 0.${PNGLIB_RELEASE}.1.2.46
- ---
- > # VERSION 0.${PNGLIB_RELEASE}.1.2.44
- diff -r test/external/libpng/configure test2/external/libpng/configure
- 3c3
- < # Generated by GNU Autoconf 2.65 for libpng 1.2.46.
- ---
- > # Generated by GNU Autoconf 2.65 for libpng 1.2.44.
- 704,705c704,705
- < PACKAGE_VERSION='1.2.46'
- < PACKAGE_STRING='libpng 1.2.46'
- ---
- > PACKAGE_VERSION='1.2.44'
- > PACKAGE_STRING='libpng 1.2.44'
- 1438c1438
- < \`configure' configures libpng 1.2.46 to adapt to many kinds of systems.
- ---
- > \`configure' configures libpng 1.2.44 to adapt to many kinds of systems.
- 1508c1508
- < short | recursive ) echo "Configuration of libpng 1.2.46:";;
- ---
- > short | recursive ) echo "Configuration of libpng 1.2.44:";;
- 1615c1615
- < libpng configure 1.2.46
- ---
- > libpng configure 1.2.44
- 2040c2040
- < It was created by libpng $as_me 1.2.46, which was
- ---
- > It was created by libpng $as_me 1.2.44, which was
- 2848c2848
- < VERSION='1.2.46'
- ---
- > VERSION='1.2.44'
- 2912c2912
- < PNGLIB_VERSION=1.2.46
- ---
- > PNGLIB_VERSION=1.2.44
- 2915c2915
- < PNGLIB_RELEASE=46
- ---
- > PNGLIB_RELEASE=44
- 12082c12082
- < This file was extended by libpng $as_me 1.2.46, which was
- ---
- > This file was extended by libpng $as_me 1.2.44, which was
- 12148c12148
- < libpng config.status 1.2.46
- ---
- > libpng config.status 1.2.44
- diff -r test/external/libpng/configure.ac test2/external/libpng/configure.ac
- 21c21
- < AC_INIT([libpng], [1.2.46], [[email protected]])
- ---
- > AC_INIT([libpng], [1.2.44], [[email protected]])
- 26c26
- < PNGLIB_VERSION=1.2.46
- ---
- > PNGLIB_VERSION=1.2.44
- 29c29
- < PNGLIB_RELEASE=46
- ---
- > PNGLIB_RELEASE=44
- diff -r test/external/libpng/INSTALL test2/external/libpng/INSTALL
- 2c2
- < Installing libpng version 1.2.46 - July 9, 2011
- ---
- > Installing libpng version 1.2.44 - June 26, 2010
- 49c49
- < might be called "libpng-1.2.46" or "libpng12" and "zlib-1.2.3"
- ---
- > might be called "libpng-1.2.44" or "libpng12" and "zlib-1.2.3"
- diff -r test/external/libpng/KNOWNBUG test2/external/libpng/KNOWNBUG
- 2c2
- < Known bugs in libpng version 1.2.46
- ---
- > Known bugs in libpng version 1.2.44
- 4c4,11
- < 1. February 23, 2006: The custom makefiles don't build libpng with -lz.
- ---
- > 1. December 4, 2009: The PNG_NO_ERROR_NUMBERS macro was inadvertently
- > defined in libpng-1.2.41/pngconf.h, which may cause a problem with
- > building a binary-compatible library.
- >
- > STATUS: This will be fixed in libpng-1.2.42. In the meantime, simply
- > delete the definition from line :
- >
- > 2. February 23, 2006: The custom makefiles don't build libpng with -lz.
- 9c16
- < 2. February 24, 2006: The Makefile generated by the "configure" script
- ---
- > 3. February 24, 2006: The Makefile generated by the "configure" script
- 14c21
- < 3. September 4, 2007: There is a report that pngtest crashes on MacOS 10.
- ---
- > 4. September 4, 2007: There is a report that pngtest crashes on MacOS 10.
- Nur in test/external/libpng: libpng-1.2.46.txt.
- diff -r test/external/libpng/libpng.3 test2/external/libpng/libpng.3
- 1c1
- < .TH LIBPNG 3 "July 9, 2011"
- ---
- > .TH LIBPNG 3 "June 26, 2010"
- 3c3
- < libpng \- Portable Network Graphics (PNG) Reference Library 1.2.46
- ---
- > libpng \- Portable Network Graphics (PNG) Reference Library 1.2.44
- 824c824
- < libpng version 1.2.46 - July 9, 2011
- ---
- > libpng version 1.2.44 - June 26, 2010
- 835c835
- < libpng versions 0.97, January 1998, through 1.2.46 - July 9, 2011
- ---
- > libpng versions 0.97, January 1998, through 1.2.44 - June 26, 2010
- 1702c1702
- < As of libpng version 1.2.46, not all possible expansions are supported.
- ---
- > As of libpng version 1.2.44, not all possible expansions are supported.
- 4003c4003
- < July 9, 2011
- ---
- > June 26, 2010
- 4009c4009
- < upward through 1.2.46 are Y2K compliant. It is my belief that earlier
- ---
- > upward through 1.2.44 are Y2K compliant. It is my belief that earlier
- 4278c4278
- < 1.0.45 10 10045 12.so.0.45[.0]
- ---
- > 1.2.45 10 10045 12.so.0.45[.0]
- 4310,4317d4309
- < 1.2.45beta01-03 13 10245 12.so.0.45[.0]
- < 1.0.55rc01 10 10055 10.so.0.55[.0]
- < 1.2.45rc01 13 10245 12.so.0.45[.0]
- < 1.0.55 10 10055 10.so.0.55[.0]
- < 1.2.45 13 10245 12.so.0.45[.0]
- < 1.2.46rc01-02 13 10246 12.so.0.46[.0]
- < 1.0.56 10 10056 10.so.0.56[.0]
- < 1.2.46 13 10246 12.so.0.46[.0]
- 4373c4365
- < Libpng version 1.2.46 - July 9, 2011:
- ---
- > Libpng version 1.2.44 - June 26, 2010:
- 4396c4388
- < libpng versions 1.2.6, August 15, 2004, through 1.2.46, July 9, 2011, are
- ---
- > libpng versions 1.2.6, August 15, 2004, through 1.2.44, June 26, 2010, are
- 4495c4487
- < July 9, 2011
- ---
- > June 26, 2010
- diff -r test/external/libpng/libpngpf.3 test2/external/libpng/libpngpf.3
- 1c1
- < .TH LIBPNGPF 3 "July 9, 2011"
- ---
- > .TH LIBPNGPF 3 "June 26, 2010"
- 3c3
- < libpng \- Portable Network Graphics (PNG) Reference Library 1.2.46
- ---
- > libpng \- Portable Network Graphics (PNG) Reference Library 1.2.44
- diff -r test/external/libpng/LICENSE test2/external/libpng/LICENSE
- 13c13
- < libpng versions 1.2.6, August 15, 2004, through 1.2.46, July 9, 2011, are
- ---
- > libpng versions 1.2.6, August 15, 2004, through 1.2.44, June 26, 2010, are
- 111c111
- < July 9, 2011
- ---
- > June 26, 2010
- diff -r test/external/libpng/Makefile.am test2/external/libpng/Makefile.am
- 77d76
- < CMakeLists.txt \
- 84d82
- < ${srcdir}/projects/xcode/* \
- 87d84
- < ${srcdir}/contrib/pngminim/* \
- 92c89
- < example.c libpng-1.2.46.txt pnggccrd.c pngvcrd.c
- ---
- > example.c libpng-1.2.44.txt pngvcrd.c
- diff -r test/external/libpng/Makefile.in test2/external/libpng/Makefile.in
- 341d340
- < CMakeLists.txt \
- 348d346
- < ${srcdir}/projects/xcode/* \
- 352d349
- < ${srcdir}/contrib/pngminim/* \
- 357c354
- < example.c libpng-1.2.46.txt pnggccrd.c pngvcrd.c
- ---
- > example.c libpng-1.2.44.txt pngvcrd.c
- diff -r test/external/libpng/NOTICE test2/external/libpng/NOTICE
- 11,14c11,12
- < This code is released under the libpng license.
- <
- < libpng versions 1.2.6, August 15, 2004, through 1.2.46, July 9, 2011, are
- < Copyright (c) 2004, 2006-2009 Glenn Randers-Pehrson, and are
- ---
- > libpng versions 1.2.6, August 15, 2004, through 1.2.29, May 8, 2008, are
- > Copyright (c) 2004, 2006-2008 Glenn Randers-Pehrson, and are
- 111c109
- < July 9, 2011
- ---
- > May 8, 2008
- diff -r test/external/libpng/png.5 test2/external/libpng/png.5
- 1c1
- < .TH PNG 5 "July 9, 2011"
- ---
- > .TH PNG 5 "June 26, 2010"
- diff -r test/external/libpng/png.c test2/external/libpng/png.c
- 4,5c4,5
- < * Last changed in libpng 1.2.46 [February 25, 2011]
- < * Copyright (c) 1998-2011 Glenn Randers-Pehrson
- ---
- > * Last changed in libpng 1.2.43 [February 25, 2010]
- > * Copyright (c) 1998-2010 Glenn Randers-Pehrson
- 20c20
- < typedef version_1_2_46 Your_png_h_is_not_version_1_2_46;
- ---
- > typedef version_1_2_44 Your_png_h_is_not_version_1_2_44;
- 727,728c727,728
- < "libpng version 1.2.46 - July 9, 2011" PNG_STRING_NEWLINE \
- < "Copyright (c) 1998-2011 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
- ---
- > "libpng version 1.2.44 - June 26, 2010" PNG_STRING_NEWLINE \
- > "Copyright (c) 1998-2010 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
- 733,734c733,734
- < return ((png_charp) "libpng version 1.2.46 - July 9, 2011\
- < Copyright (c) 1998-2011 Glenn Randers-Pehrson\
- ---
- > return ((png_charp) "libpng version 1.2.44 - June 26, 2010\
- > Copyright (c) 1998-2010 Glenn Randers-Pehrson\
- diff -r test/external/libpng/pngconf.h test2/external/libpng/pngconf.h
- 4,5c4,5
- < * libpng version 1.2.46 - July 9, 2011
- < * Copyright (c) 1998-2011 Glenn Randers-Pehrson
- ---
- > * libpng version 1.2.44 - June 26, 2010
- > * Copyright (c) 1998-2010 Glenn Randers-Pehrson
- diff -r test/external/libpng/pngerror.c test2/external/libpng/pngerror.c
- 4,5c4,5
- < * Last changed in libpng 1.2.45 [July 7, 2011]
- < * Copyright (c) 1998-2011 Glenn Randers-Pehrson
- ---
- > * Last changed in libpng 1.2.41 [December 3, 2009]
- > * Copyright (c) 1998-2009 Glenn Randers-Pehrson
- 90,94d89
- < /* Prior to 1.2.45 the error_fn received a NULL pointer, expressed
- < * erroneously as '\0', instead of the empty string "". This was
- < * apparently an error, introduced in libpng-1.2.20, and png_default_error
- < * will crash in this case.
- < */
- 96c91
- < (*(png_ptr->error_fn))(png_ptr, "");
- ---
- > (*(png_ptr->error_fn))(png_ptr, '\0');
- 100c95
- < png_default_error(png_ptr, "");
- ---
- > png_default_error(png_ptr, '\0');
- 189,195c184,185
- <
- < iin = 0;
- < while (iin < PNG_MAX_ERROR_TEXT-1 && error_message[iin] != '\0')
- < buffer[iout++] = error_message[iin++];
- <
- < /* iin < PNG_MAX_ERROR_TEXT, so the following is safe: */
- < buffer[iout] = '\0';
- ---
- > png_memcpy(buffer + iout, error_message, PNG_MAX_ERROR_TEXT);
- > buffer[iout + PNG_MAX_ERROR_TEXT - 1] = '\0';
- diff -r test/external/libpng/png.h test2/external/libpng/png.h
- 3,4c3,4
- < * libpng version 1.2.46 - July 9, 2011
- < * Copyright (c) 1998-2011 Glenn Randers-Pehrson
- ---
- > * libpng version 1.2.44 - June 26, 2010
- > * Copyright (c) 1998-2010 Glenn Randers-Pehrson
- 13c13
- < * libpng versions 0.97, January 1998, through 1.2.46 - July 9, 2011: Glenn
- ---
- > * libpng versions 0.97, January 1998, through 1.2.44 - June 26, 2010: Glenn
- 234c234
- < * 1.0.45 10 10045 12.so.0.45[.0]
- ---
- > * 1.2.45 10 10045 12.so.0.45[.0]
- 265,272d264
- < * 1.2.45beta01-03 13 10245 12.so.0.45[.0]
- < * 1.0.55rc01 10 10055 10.so.0.55[.0]
- < * 1.2.45rc01 13 10245 12.so.0.45[.0]
- < * 1.0.55 10 10055 10.so.0.55[.0]
- < * 1.2.45 13 10245 12.so.0.45[.0]
- < * 1.2.46rc01-02 13 10246 12.so.0.46[.0]
- < * 1.0.56 10 10056 10.so.0.56[.0]
- < * 1.2.46 13 10246 12.so.0.46[.0]
- 304,305c296,297
- < * libpng versions 1.2.6, August 15, 2004, through 1.2.46, July 9, 2011, are
- < * Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are
- ---
- > * libpng versions 1.2.6, August 15, 2004, through 1.2.44, June 26, 2010, are
- > * Copyright (c) 2004, 2006-2010 Glenn Randers-Pehrson, and are
- 416c408
- < * July 9, 2011
- ---
- > * June 26, 2010
- 422c414
- < * upward through 1.2.46 are Y2K compliant. It is my belief that earlier
- ---
- > * upward through 1.2.44 are Y2K compliant. It is my belief that earlier
- 478c470
- < #define PNG_LIBPNG_VER_STRING "1.2.46"
- ---
- > #define PNG_LIBPNG_VER_STRING "1.2.44"
- 480c472
- < " libpng version 1.2.46 - July 9, 2011\n"
- ---
- > " libpng version 1.2.44 - June 26, 2010\n"
- 488c480
- < #define PNG_LIBPNG_VER_RELEASE 46
- ---
- > #define PNG_LIBPNG_VER_RELEASE 44
- 518c510
- < #define PNG_LIBPNG_VER 10246 /* 1.2.46 */
- ---
- > #define PNG_LIBPNG_VER 10244 /* 1.2.44 */
- 1558c1550
- < typedef png_structp version_1_2_46;
- ---
- > typedef png_structp version_1_2_44;
- diff -r test/external/libpng/pngmem.c test2/external/libpng/pngmem.c
- 445c445
- < png_voidp /* PRIVATE */
- ---
- > png_voidp PNGAPI
- diff -r test/external/libpng/pngrtran.c test2/external/libpng/pngrtran.c
- 4,5c4,5
- < * Last changed in libpng 1.2.45 [July 7, 2011]
- < * Copyright (c) 1998-2011 Glenn Randers-Pehrson
- ---
- > * Last changed in libpng 1.2.43 [February 25, 2010]
- > * Copyright (c) 1998-2010 Glenn Randers-Pehrson
- 679c679,680
- < int red_fixed, green_fixed;
- ---
- > int red_fixed = (int)((float)red*100000.0 + 0.5);
- > int green_fixed = (int)((float)green*100000.0 + 0.5);
- 682,693d682
- < if (red > 21474.83647 || red < -21474.83648 ||
- < green > 21474.83647 || green < -21474.83648)
- < {
- < png_warning(png_ptr, "ignoring out of range rgb_to_gray coefficients");
- < red_fixed = -1;
- < green_fixed = -1;
- < }
- < else
- < {
- < red_fixed = (int)((float)red*100000.0 + 0.5);
- < green_fixed = (int)((float)green*100000.0 + 0.5);
- < }
- 1210c1199,1200
- < if (png_ptr->num_trans)
- ---
- > if (png_ptr->num_trans &&
- > (png_ptr->transformations & PNG_EXPAND_tRNS))
- diff -r test/external/libpng/pngrutil.c test2/external/libpng/pngrutil.c
- 4,5c4,5
- < * Last changed in libpng 1.2.45 [July 7, 2011]
- < * Copyright (c) 1998-2011 Glenn Randers-Pehrson
- ---
- > * Last changed in libpng 1.2.44 [June 26, 2010]
- > * Copyright (c) 1998-2010 Glenn Randers-Pehrson
- 1811,1818d1810
- < png_crc_finish(png_ptr, length);
- < return;
- < }
- <
- < /* Need unit type, width, \0, height: minimum 4 bytes */
- < else if (length < 4)
- < {
- < png_warning(png_ptr, "sCAL chunk too short");
- diff -r test/external/libpng/pngtest.c test2/external/libpng/pngtest.c
- 1705c1705
- < typedef version_1_2_46 your_png_h_is_not_version_1_2_46;
- ---
- > typedef version_1_2_44 your_png_h_is_not_version_1_2_44;
- diff -r test/external/libpng/pngwrite.c test2/external/libpng/pngwrite.c
- 4,5c4,5
- < * Last changed in libpng 1.2.45 [July 7, 2011]
- < * Copyright (c) 1998-2011 Glenn Randers-Pehrson
- ---
- > * Last changed in libpng 1.2.42 [January 3, 2010]
- > * Copyright (c) 1998-2010 Glenn Randers-Pehrson
- 298d297
- < !(up->location & PNG_AFTER_IDAT) &&
- diff -r test/external/libpng/projects/wince.txt test2/external/libpng/projects/wince.txt
- 2c2
- < libpng-1.2.46-project-wince.zip from a libpng distribution
- ---
- > libpng-1.2.44-project-wince.zip from a libpng distribution
- 6c6
- < "unzip -a libpng-1.2.46-project-wince.zip"
- ---
- > "unzip -a libpng-1.2.44-project-wince.zip"
- diff -r test/external/libpng/projects/xcode/libpng.xcodeproj/project.pbxproj test2/external/libpng/projects/xcode/libpng.xcodeproj/project.pbxproj
- 225c225
- < FRAMEWORK_VERSION = 1.2.46;
- ---
- > FRAMEWORK_VERSION = 1.2.44;
- 243c243
- < FRAMEWORK_VERSION = 1.2.46;
- ---
- > FRAMEWORK_VERSION = 1.2.44;
- diff -r test/external/libpng/README test2/external/libpng/README
- 1c1
- < README for libpng version 1.2.46 - July 9, 2011 (shared library 12.0)
- ---
- > README for libpng version 1.2.44 - June 26, 2010 (shared library 12.0)
- 202c202
- < creates libpng12.so.0.1.2.46)
- ---
- > creates libpng12.so.0.1.2.44)
- 204c204
- < libpng12.so.0.1.2.46)
- ---
- > libpng12.so.0.1.2.44)
- 206c206
- < libpng12.so.0.1.2.46, previously
- ---
- > libpng12.so.0.1.2.44, previously
- 231c231
- < (gcc, creates libpng12.so.0.1.2.46)
- ---
- > (gcc, creates libpng12.so.0.1.2.44)
- 234c234
- < (gcc, creates libpng12.so.0.1.2.46)
- ---
- > (gcc, creates libpng12.so.0.1.2.44)
- 236c236
- < (gcc, creates libpng12.so.0.1.2.46)
- ---
- > (gcc, creates libpng12.so.0.1.2.44)
- diff -r test/external/libpng/scripts/libpng-config-head.in test2/external/libpng/scripts/libpng-config-head.in
- 14c14
- < version=1.2.46
- ---
- > version=1.2.44
- diff -r test/external/libpng/scripts/libpng.pc.in test2/external/libpng/scripts/libpng.pc.in
- 8c8
- < Version: 1.2.46
- ---
- > Version: 1.2.44
- diff -r test/external/libpng/scripts/makefile.32sunu test2/external/libpng/scripts/makefile.32sunu
- 14c14
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.64sunu test2/external/libpng/scripts/makefile.64sunu
- 14c14
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.aix test2/external/libpng/scripts/makefile.aix
- 26c26
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.beos test2/external/libpng/scripts/makefile.beos
- 14c14
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.cegcc test2/external/libpng/scripts/makefile.cegcc
- 26c26
- < VERMIC = 46
- ---
- > VERMIC = 44
- diff -r test/external/libpng/scripts/makefile.cygwin test2/external/libpng/scripts/makefile.cygwin
- 80c80
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.darwin test2/external/libpng/scripts/makefile.darwin
- 25c25
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.dec test2/external/libpng/scripts/makefile.dec
- 11c11
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.elf test2/external/libpng/scripts/makefile.elf
- 19c19
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.gcmmx test2/external/libpng/scripts/makefile.gcmmx
- 20c20
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.hp64 test2/external/libpng/scripts/makefile.hp64
- 24c24
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.hpgcc test2/external/libpng/scripts/makefile.hpgcc
- 14c14
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.hpux test2/external/libpng/scripts/makefile.hpux
- 24c24
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.linux test2/external/libpng/scripts/makefile.linux
- 13c13
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.mingw test2/external/libpng/scripts/makefile.mingw
- 84c84
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.ne12bsd test2/external/libpng/scripts/makefile.ne12bsd
- 20c20
- < SHLIB_MINOR= 1.2.46
- ---
- > SHLIB_MINOR= 1.2.44
- diff -r test/external/libpng/scripts/makefile.netbsd test2/external/libpng/scripts/makefile.netbsd
- 20c20
- < SHLIB_MINOR= 1.2.46
- ---
- > SHLIB_MINOR= 1.2.44
- diff -r test/external/libpng/scripts/makefile.nommx test2/external/libpng/scripts/makefile.nommx
- 13c13
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.openbsd test2/external/libpng/scripts/makefile.openbsd
- 14c14
- < SHLIB_MINOR= 1.2.46
- ---
- > SHLIB_MINOR= 1.2.44
- diff -r test/external/libpng/scripts/makefile.sco test2/external/libpng/scripts/makefile.sco
- 15c15
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.sggcc test2/external/libpng/scripts/makefile.sggcc
- 12c12
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.sgi test2/external/libpng/scripts/makefile.sgi
- 12c12
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.so9 test2/external/libpng/scripts/makefile.so9
- 14c14
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.solaris test2/external/libpng/scripts/makefile.solaris
- 14c14
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/makefile.solaris-x86 test2/external/libpng/scripts/makefile.solaris-x86
- 14c14
- < PNGMIN = 1.2.46
- ---
- > PNGMIN = 1.2.44
- diff -r test/external/libpng/scripts/png32ce.def test2/external/libpng/scripts/png32ce.def
- 8c8
- < ;Version 1.2.46
- ---
- > ;Version 1.2.44
- diff -r test/external/libpng/scripts/pngos2.def test2/external/libpng/scripts/pngos2.def
- 5c5
- < ; Version 1.2.46
- ---
- > ; Version 1.2.44
- diff -r test/external/libpng/scripts/pngw32.def test2/external/libpng/scripts/pngw32.def
- 8c8
- < ;Version 1.2.46
- ---
- > ;Version 1.2.44
- diff -r test/external/libpng/scripts/README.txt test2/external/libpng/scripts/README.txt
- 2c2
- < Makefiles for libpng version 1.2.46 - July 9, 2011
- ---
- > Makefiles for libpng version 1.2.44 - June 26, 2010
- 5c5
- < (gcc, creates libpng12.so.0.1.2.46)
- ---
- > (gcc, creates libpng12.so.0.1.2.44)
- 23c23
- < gcc, creates libpng12.so.0.1.2.46)
- ---
- > gcc, creates libpng12.so.0.1.2.44)
- 41c41
- < creates libpng12.so.0.1.2.46)
- ---
- > creates libpng12.so.0.1.2.44)
- 44c44
- < creates libpng12.so.0.1.2.46)
- ---
- > creates libpng12.so.0.1.2.44)
- 46c46
- < creates libpng12.so.0.1.2.46)
- ---
- > creates libpng12.so.0.1.2.44)
- 48c48
- < creates libpng12.so.0.1.2.46)
- ---
- > creates libpng12.so.0.1.2.44)
- diff -r test/external/libpng/Y2KINFO test2/external/libpng/Y2KINFO
- 4c4
- < July 9, 2011
- ---
- > June 26, 2010
- 10c10
- < upward through 1.2.46 are Y2K compliant. It is my belief that earlier
- ---
- > upward through 1.2.44 are Y2K compliant. It is my belief that earlier
- diff -r test/external/tremolo/Tremolo/bitwiseARM.s test2/external/tremolo/Tremolo/bitwiseARM.s
- 172c172
- < BX LR
- ---
- > MOV PC,R14
- 230c230
- < BX LR
- ---
- > MOV PC,R14
- diff -r test/packages/apps/Browser/src/com/android/browser/BrowserActivity.java test2/packages/apps/Browser/src/com/android/browser/BrowserActivity.java
- 464,469d463
- < if (!TextUtils.isEmpty(urlData.mUrl) &&
- < urlData.mUrl.startsWith("javascript:")) {
- < // Always open javascript: URIs in new tabs
- < openTabAndShow(urlData, true, appId);
- < return;
- < }
- 1721,1726c1715,1730
- < Tab currentTab = mTabControl.getCurrentTab();
- < if (!mTabControl.canCreateNewTab()) {
- < Tab closeTab = mTabControl.getTab(0);
- < closeTab(closeTab);
- < if (closeTab == currentTab) {
- < currentTab = null;
- ---
- > final Tab currentTab = mTabControl.getCurrentTab();
- > if (mTabControl.canCreateNewTab()) {
- > final Tab tab = mTabControl.createNewTab(closeOnExit, appId,
- > urlData.mUrl);
- > WebView webview = tab.getWebView();
- > // If the last tab was removed from the active tabs page, currentTab
- > // will be null.
- > if (currentTab != null) {
- > removeTabFromContentView(currentTab);
- > }
- > // We must set the new tab as the current tab to reflect the old
- > // animation behavior.
- > mTabControl.setCurrentTab(tab);
- > attachTabToContentView(tab);
- > if (!urlData.isEmpty()) {
- > loadUrlDataIn(tab, urlData);
- 1727a1732,1740
- > return tab;
- > } else {
- > // Get rid of the subwindow if it exists
- > dismissSubWindow(currentTab);
- > if (!urlData.isEmpty()) {
- > // Load the given url.
- > loadUrlDataIn(currentTab, urlData);
- > }
- > return currentTab;
- 1729,1744d1741
- < final Tab tab = mTabControl.createNewTab(closeOnExit, appId,
- < urlData.mUrl);
- < WebView webview = tab.getWebView();
- < // If the last tab was removed from the active tabs page, currentTab
- < // will be null.
- < if (currentTab != null) {
- < removeTabFromContentView(currentTab);
- < }
- < // We must set the new tab as the current tab to reflect the old
- < // animation behavior.
- < mTabControl.setCurrentTab(tab);
- < attachTabToContentView(tab);
- < if (!urlData.isEmpty()) {
- < loadUrlDataIn(tab, urlData);
- < }
- < return tab;
- 2592,2594c2589,2590
- < // be dispatched to other apps. Similarly, javascript: schemas are private
- < // to the page
- < if (url.startsWith("about:") || url.startsWith("javascript:")) {
- ---
- > // be dispatched to other apps.
- > if (url.startsWith("about:")) {
- diff -r test/system/core/libsysutils/src/NetlinkListener.cpp test2/system/core/libsysutils/src/NetlinkListener.cpp
- 20d19
- < #include <linux/netlink.h>
- 36,40c35
- < ssize_t count;
- < char cred_msg[CMSG_SPACE(sizeof(struct ucred))];
- < struct sockaddr_nl snl;
- < struct iovec iov = {mBuffer, sizeof(mBuffer)};
- < struct msghdr hdr = {&snl, sizeof(snl), &iov, 1, cred_msg, sizeof(cred_msg), 0};
- ---
- > int count;
- 42,61c37,38
- < if ((count = recvmsg(socket, &hdr, 0)) < 0) {
- < SLOGE("recvmsg failed (%s)", strerror(errno));
- < return false;
- < }
- <
- < if ((snl.nl_groups != 1) || (snl.nl_pid != 0)) {
- < SLOGE("ignoring non-kernel netlink multicast message");
- < return false;
- < }
- <
- < struct cmsghdr * cmsg = CMSG_FIRSTHDR(&hdr);
- <
- < if (cmsg == NULL || cmsg->cmsg_type != SCM_CREDENTIALS) {
- < SLOGE("ignoring message with no sender credentials");
- < return false;
- < }
- <
- < struct ucred * cred = (struct ucred *)CMSG_DATA(cmsg);
- < if (cred->uid != 0) {
- < SLOGE("ignoring message from non-root UID %d", cred->uid);
- ---
- > if ((count = recv(socket, mBuffer, sizeof(mBuffer), 0)) < 0) {
- > SLOGE("recv failed (%s)", strerror(errno));
- diff -r test/system/netd/NetlinkManager.cpp test2/system/netd/NetlinkManager.cpp
- 53d52
- < int on = 1;
- 67,72c66
- < LOGE("Unable to set uevent socket SO_RCVBUFFORCE option: %s", strerror(errno));
- < return -1;
- < }
- <
- < if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
- < SLOGE("Unable to set uevent socket SO_PASSCRED option: %s", strerror(errno));
- ---
- > LOGE("Unable to set uevent socket options: %s", strerror(errno));
- diff -r test/system/vold/NetlinkManager.cpp test2/system/vold/NetlinkManager.cpp
- 53d52
- < int on = 1;
- 67,72c66
- < SLOGE("Unable to set uevent socket SO_RECBUFFORCE option: %s", strerror(errno));
- < return -1;
- < }
- <
- < if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
- < SLOGE("Unable to set uevent socket SO_PASSCRED option: %s", strerror(errno));
- ---
- > SLOGE("Unable to set uevent socket options: %s", strerror(errno));
- diff -r test/system/wlan/ti/sta_dk_4_0_4_32/wpa_supplicant_lib/driver_ti.c test2/system/wlan/ti/sta_dk_4_0_4_32/wpa_supplicant_lib/driver_ti.c
- 1359c1359
- < inet_aton("127.0.0.1", &echoserver.sin_addr); /* bind to loopback ONLY */
- ---
- > echoserver.sin_addr.s_addr = htonl(INADDR_ANY); /* IP address */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement