]> granicus.if.org Git - python/commitdiff
Issue #985064: Make plistlib more resilient to faulty input plists.
authorNed Deily <nad@acm.org>
Sat, 28 May 2011 10:02:30 +0000 (03:02 -0700)
committerNed Deily <nad@acm.org>
Sat, 28 May 2011 10:02:30 +0000 (03:02 -0700)
Patch by Mher Movsisyan.

1  2 
Lib/plistlib.py
Lib/test/test_plistlib.py
Misc/ACKS
Misc/NEWS

diff --cc Lib/plistlib.py
Simple merge
Simple merge
diff --cc Misc/ACKS
index 399de8cba9a69856fe19878ee7314a32e93606a9,c698d73e71608d81e4c12e9f18c933720ca067e3..d0e32e177833d95a5ee355887d38a6f2e6a3f3a3
+++ b/Misc/ACKS
@@@ -607,7 -563,7 +607,8 @@@ Skip Montanar
  Paul Moore
  Derek Morr
  James A Morrison
 +Pablo Mouzo
+ Mher Movsisyan
  Sjoerd Mullender
  Sape Mullender
  Michael Muller
diff --cc Misc/NEWS
index e5267aa2e889bee243fcb7efe9df78754deda80c,ec1bbf2fa299a0b723bfee0c48959fb9f9da6937..df6933af72ee3008dce1a69debcad115047bdaab
+++ b/Misc/NEWS
@@@ -15,51 -15,67 +15,54 @@@ Core and Builtin
    "maximum recursion depth" RuntimeError exception.
    (patch by Ronald Oussoren)
  
 -- Correct lookup of __dir__ on objects. Among other things, this causes errors
 -  besides AttributeError found on lookup to be propagated.
 +Library
 +-------
  
 -- Issue #12060: Use sig_atomic_t type and volatile keyword in the signal
 -  module. Patch written by Charles-François Natali.
++- Issue #985064: Make plistlib more resilient to faulty input plists.
++  Patch by Mher Movsisyan.
 -- Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
 -  clear the end-of-file indicator after CTRL+d.
 +- Issue #12175: RawIOBase.readall() now returns None if read() returns None.
  
 -- Issue #9756: When calling a method descriptor or a slot wrapper descriptor,
 -  the check of the object type doesn't read the __class__ attribute anymore.
 -  Fix a crash if a class override its __class__ attribute (e.g. a proxy of the
 -  str type). Patch written by Andreas Stührk.
 +- Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError
 +  if the file is closed.
  
 -- Issue #6780: fix starts/endswith error message to mention that tuples are
 -  accepted too.
 +- Issue #12070: Fix the Makefile parser of the sysconfig module to handle
 +  correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
  
 -- Issue #5057: fix a bug in the peepholer that led to non-portable pyc files
 -  between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP
 -  chars (e.g. "\U00012345"[0]).
 +- Issue #12100: Don't reset incremental encoders of CJK codecs at each call to
 +  their encode() method anymore, but continue to call the reset() method if the
 +  final argument is True.
  
 -- Issue #11650: PyOS_StdioReadline() retries fgets() if it was interrupted
 -  (EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch
 -  written by Charles-Francois Natali.
 +- Issue #5715: In socketserver, close the server socket in the child process.
  
 -- Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
 -  doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
 -  (length bigger than 2^31-1 bytes).
 +- Correct lookup of __dir__ on objects. Among other things, this causes errors
 +  besides AttributeError found on lookup to be propagated.
  
 -- Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
 -  there are many tags (e.g. when using mq).  Patch by Nadeem Vawda.
 +- Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
 +  to be able to unload the module.
  
 -- Issue #10451: memoryview objects could allow to mutate a readable buffer.
 -  Initial patch by Ross Lagerwall.
 +- Issue #12065: connect_ex() on an SSL socket now returns the original errno
 +  when the socket's timeout expires (it used to return None).
  
 -- Issue #10892: Don't segfault when trying to delete __abstractmethods__ from a
 -  class.
  
 -- Issue #8020: Avoid a crash where the small objects allocator would read
 -  non-Python managed memory while it is being modified by another thread.
 -  Patch by Matt Bandy.
  
 -- Issue #8278: On Windows and with a NTFS filesystem, os.stat() and os.utime()
 -  can now handle dates after 2038.
 +What's New in Python 3.2.1 release candidate 1?
 +===============================================
  
 -- issue #11828: startswith and endswith don't accept None as slice index.
 -  Patch by Torsten Becker.
 +*Release date: 15-May-2011*
  
 -- Issue #4236: PyModule_Create2 now checks the import machinery directly
 -  rather than the Py_IsInitialized flag, avoiding a Fatal Python
 -  error in certain circumstances when an import is done in __del__.
 +Core and Builtins
 +-----------------
  
 -- Issue #10596: Fix float.__mod__ to have the same behaviour as
 -  float.__divmod__ with respect to signed zeros.  -4.0 % 4.0 should be
 -  0.0, not -0.0.
 +- Issue #12060: Use sig_atomic_t type and volatile keyword in the signal
 +  module. Patch written by Charles-François Natali.
  
 -- Issue #5587: add a repr to dict_proxy objects.  Patch by David Stanek and
 -  Daniel Urban.
 +- Issue #12044: Fixed subprocess.Popen when used as a context manager to
 +  wait for the process to end when exiting the context to avoid unintentionally
 +  leaving zombie processes around.
  
 -- Issue #11506: Trying to assign to a bytes literal should result in a
 -  SyntaxError.
 +- Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
 +  clear the end-of-file indicator after CTRL+d.
  
  Library
  -------