[Bug 508739] Re: pypoker-eval causes python to core dump

mathrawka jon at licq.org
Fri Feb 5 12:46:10 UTC 2010


The problem is that it poker-eval uses sizeof(int) for an int pointer,
which is 4 bytes on 64-bit CPU but it should be 8 bytes.

Here is a simple patch to enumerate.h that will make fix poker-eval, and
cause pypoker-eval to not crash.

Can you please use this to make a new package?

624c623
<   _curElem = (int **) malloc(num_sets * sizeof(int)); \
---
>   _curElem = (int **) malloc(num_sets * sizeof(intptr_t)); \

-- 
pypoker-eval causes python to core dump
https://bugs.launchpad.net/bugs/508739
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list