| Summary: | NULL access in SDL_ListModes | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Max Horn <max> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED INVALID | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Other | ||
|
Description
Max Horn
2007-07-25 17:58:05 UTC
This is not a bug. The access of modes is protected by a check on nmodes, and realloc(NULL, size) works like malloc(size). |