You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. python2.6 test.py
2.
3.
What is the expected output? What do you see instead?
Expect to run the unit test
What version of the product are you using? On what operating system?
py-radix 0.5,
Darwin pgurumur-osx2.local 10.7.3 Darwin Kernel Version 10.7.3: Sun Mar 6
13:37:56 PST 2011; root:xnu-1504.14.2~1/RELEASE_X86_64 x86_64
Please provide any additional information below.
Original issue reported on code.google.com by pgur...@gmail.com on 21 May 2011 at 8:59
This is caused by an uninitialised variable in
radix_python.c:args_to_prefix:228. Change:
--- BEFORE ---
static prefix_t
*args_to_prefix(char *addr, char *packed, int packlen, long prefixlen)
{
prefix_t *prefix = NULL;
const char *errmsg;
--- BEFORE ---
To this:
--- AFTER ---
static prefix_t
*args_to_prefix(char *addr, char *packed, int packlen, long prefixlen)
{
prefix_t *prefix = NULL;
const char *errmsg = NULL;
--- AFTER ---
Original comment by byron.el...@gmail.com on 8 Nov 2012 at 3:34
Original issue reported on code.google.com by
pgur...@gmail.com
on 21 May 2011 at 8:59Attachments:
The text was updated successfully, but these errors were encountered: