<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Parser, branch v2.4.4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>[Backport r46602 | neal.norwitz]</title>
<updated>2006-10-06T18:59:10+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-06T18:59:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5e27a6cb0b64eab189b474bd91f23c05cab94cb2'/>
<id>5e27a6cb0b64eab189b474bd91f23c05cab94cb2</id>
<content type='text'>
Patch #1357836:

Prevent an invalid memory read from test_coding in case the done flag is set.
In that case, the loop isn't entered.  I wonder if rather than setting
the done flag in the cases before the loop, if they should just exit early.

This code looks like it should be refactored.

Backport candidate (also the early break above if decoding_fgets fails)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch #1357836:

Prevent an invalid memory read from test_coding in case the done flag is set.
In that case, the loop isn't entered.  I wonder if rather than setting
the done flag in the cases before the loop, if they should just exit early.

This code looks like it should be refactored.

Backport candidate (also the early break above if decoding_fgets fails)
</pre>
</div>
</content>
</entry>
<entry>
<title>[Backport r51222 | neal.norwitz -- if you hack the code to set r=NULL,</title>
<updated>2006-10-05T19:32:52+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T19:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=20cc6be1aada880f0267eaca39ebb70d0e790692'/>
<id>20cc6be1aada880f0267eaca39ebb70d0e790692</id>
<content type='text'>
 you find that Python does print "MemoryError".  There's no traceback
 and no indication of which line of code is responsible, but it's
 better than a segfault.]

Handle NULL nodes while parsing.  I'm not entirely sure this is correct.
There might be something else that needs to be done to setup the error.

Klocwork #295.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 you find that Python does print "MemoryError".  There's no traceback
 and no indication of which line of code is responsible, but it's
 better than a segfault.]

Handle NULL nodes while parsing.  I'm not entirely sure this is correct.
There might be something else that needs to be done to setup the error.

Klocwork #295.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Backport r51256 | neal.norwitz]</title>
<updated>2006-10-03T18:34:29+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T18:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=03704319904b2e357f03a8f7ab8a7b0ea20c48ab'/>
<id>03704319904b2e357f03a8f7ab8a7b0ea20c48ab</id>
<content type='text'>
Handle malloc failure.

Klocwork 281
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle malloc failure.

Klocwork 281
</pre>
</div>
</content>
</entry>
<entry>
<title>[Backport rev39767 by nnorwitz]</title>
<updated>2006-09-29T17:42:30+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-09-29T17:42:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=100e7d77f27e232aa43e84c1c66080a08b651058'/>
<id>100e7d77f27e232aa43e84c1c66080a08b651058</id>
<content type='text'>
Free coding spec (cs) if there was an error to prevent mem leak.
Maybe backport candidate.

[Bugfix seems applicable to 2.4 to me. --amk]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Free coding spec (cs) if there was an error to prevent mem leak.
Maybe backport candidate.

[Bugfix seems applicable to 2.4 to me. --amk]
</pre>
</div>
</content>
</entry>
<entry>
<title>update - still some old .cvsignore files lying around</title>
<updated>2006-03-23T02:26:07+00:00</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2006-03-23T02:26:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=022a55c0d9f733596b9c4d71076dd4a79b38ad94'/>
<id>022a55c0d9f733596b9c4d71076dd4a79b38ad94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport r42894: SF #1444030 Fix several potential defects found</title>
<updated>2006-03-07T15:59:09+00:00</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2006-03-07T15:59:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=361cd4bd6c9c2d56ed154922e016c47d4bee9482'/>
<id>361cd4bd6c9c2d56ed154922e016c47d4bee9482</id>
<content type='text'>
by Coverity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
by Coverity.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport 41753:</title>
<updated>2006-02-21T09:19:45+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-02-21T09:19:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5f5124e410b4fbd36a6620dfcedb0eaef346b3c4'/>
<id>5f5124e410b4fbd36a6620dfcedb0eaef346b3c4</id>
<content type='text'>
  Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.
  Also bug #1435487 (dup).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Bug #1378022, UTF-8 files with a leading BOM crashed the interpreter.
  Also bug #1435487 (dup).
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2005-07-12T21:58:38+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-07-12T21:58:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a6f561447ab8a1f1faef9556cbd64c906e22b094'/>
<id>a6f561447ab8a1f1faef9556cbd64c906e22b094</id>
<content type='text'>
Apply SF patch #1101726: Fix buffer overrun in tokenizer.c when a source file
with a PEP 263 encoding declaration results in long decoded line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apply SF patch #1101726: Fix buffer overrun in tokenizer.c when a source file
with a PEP 263 encoding declaration results in long decoded line.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport my recent raw_input() vs no threads build vs SIGINT argh:</title>
<updated>2005-04-07T10:19:47+00:00</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2005-04-07T10:19:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=52cba65d1a720a7062660b0d98b04fd3212a6aff'/>
<id>52cba65d1a720a7062660b0d98b04fd3212a6aff</id>
<content type='text'>
In a threads-disabled build, typing Ctrl-C into a raw_input() crashed,
because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS
actually expanded to nothing under a no-threads build, so if you somehow
NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would
stay NULLed when you return to Python.  Argh!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a threads-disabled build, typing Ctrl-C into a raw_input() crashed,
because (essentially) I didn't realise that PY_BEGIN/END_ALLOW_THREADS
actually expanded to nothing under a no-threads build, so if you somehow
NULLed out the threadstate (e.g. by calling PyThread_SaveThread) it would
stay NULLed when you return to Python.  Argh!
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #975056 - fixes for restartable signals on *BSD. In addition,</title>
<updated>2004-10-13T14:48:50+00:00</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2004-10-13T14:48:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9ceaa72ebe96cb5423aa3fb2adede3fcd1c7b6b0'/>
<id>9ceaa72ebe96cb5423aa3fb2adede3fcd1c7b6b0</id>
<content type='text'>
a few remaining calls to signal() were converted to PyOS_setsig().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a few remaining calls to signal() were converted to PyOS_setsig().
</pre>
</div>
</content>
</entry>
</feed>
