Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-08-11 | mmap_cache: Check if slot and name_ptr are not invalid. | Michal Zidek | 1 | -0/+3 | |
This patch prevents jumping outside of allocated memory in case of corrupted slot or name_ptr values. It is not proper solution, just hotfix until we find out what is the root cause of ticket https://fedorahosted.org/sssd/ticket/2018 | |||||
2013-01-07 | memcache: make MC_PTR_TO_SLOT() more readable | Pavel Březina | 1 | -2/+1 | |
2013-01-07 | memcache: add macro that validates record length | Pavel Březina | 1 | -0/+6 | |
2012-12-20 | Carefully check records when forcibly invalidating | Simo Sorce | 1 | -2/+4 | |
We should never try to invalidate an already invalid record as internal pointers will not be consistent. Carefully test that the record really is valid when we are fishing for free space, and properly invalidate records or return a fatal error if something goes wrong. In order to make the code more robust always invalidate the whole data space on initialization by setting all bits to 1, and make sure to invalidate the whole last allocated slot by converting rec->len to the number of slots instead of just the space used. | |||||
2012-03-19 | nsssrv: add handling of memory cache group map | Simo Sorce | 1 | -0/+10 | |
2012-03-19 | util: Helper headers for shared memory cache | Simo Sorce | 1 | -0/+117 | |