| Summary: | games-arcade/cdogs-sdl-0.4 crash on amd64 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Azamat H. Hackimov <azamat.hackimov> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | amd64 |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
cdogs-sdl-0.4-64bit.patch
cdogs-sdl-0.4-64bit.patch |
||
|
Description
Azamat H. Hackimov
2009-05-23 05:25:33 UTC
Created attachment 192159 [details]
cdogs-sdl-0.4-64bit.patch
That doesn't look right to me. You're replacing a pointer with a byte? It looks to me like what it really wants to be doing is something like: Pic *p = sys_mem_alloc(sizeof(Pic)); p->data = sys_mem_alloc(size); amd64 team: Please confirm and de-keyword if necessary. Created attachment 197026 [details, diff]
cdogs-sdl-0.4-64bit.patch
I think this works, and makes it easier to understand what's supposed to happen (The data pointer was misleading).
Fixed, thanks. |