mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-06-04 12:18:22 +02:00
The logbase2 would overflow and wrap the size around to 0, making the code allocate a 4kb object instead. By simplifying the code to just walk the 14-entry bucket array comparing sizes instead of indexing on ffs(1 << logbase2(size)), we avoid silly math errors and have code of approximately the same speed. Many thanks to Simon Farnsworth for debugging and providing a working patch. Bug #27365. |
||
|---|---|---|
| .. | ||
| intel | ||
| nouveau | ||
| radeon | ||
| ChangeLog | ||
| libdrm_lists.h | ||
| Makefile.am | ||
| TODO | ||
| xf86drm.c | ||
| xf86drm.h | ||
| xf86drmHash.c | ||
| xf86drmMode.c | ||
| xf86drmMode.h | ||
| xf86drmRandom.c | ||
| xf86drmSL.c | ||
| xf86mm.h | ||