Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
python-doc.10011
bpo-29347-dereferencing-undefined-pointers.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bpo-29347-dereferencing-undefined-pointers.patch of Package python-doc.10011
From 7131a73f9655cfd325c798385905326f57b94640 Mon Sep 17 00:00:00 2001 From: Xiang Zhang <angwerzx@126.com> Date: Mon, 20 Feb 2017 14:32:53 +0800 Subject: [PATCH] bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects (#128) (#187) --- Misc/NEWS | 3 +++ Objects/weakrefobject.c | 2 ++ 2 files changed, 5 insertions(+) --- a/Misc/NEWS +++ b/Misc/NEWS @@ -80,6 +80,9 @@ Core and Builtins - Issue #27514: Make having too many statically nested blocks a SyntaxError instead of SystemError. +- bpo-29347: Fixed possibly dereferencing undefined pointers + when creating weakref objects. + Library ------- --- a/Objects/weakrefobject.c +++ b/Objects/weakrefobject.c @@ -24,6 +24,8 @@ init_weakref(PyWeakReference *self, PyOb { self->hash = -1; self->wr_object = ob; + self->wr_prev = NULL; + self->wr_next = NULL; Py_XINCREF(callback); self->wr_callback = callback; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor