summaryrefslogtreecommitdiff
path: root/src/cairo-freed-pool.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix data race in freed_poolWan-Teh Chang2016-03-051-5/+5
| | | | | | | | | | | This adds _cairo_atomic_int_get_relaxed and _cairo_atomic_int_set_relaxed which are meant to have a behaviour of relaxed read/writes in C11's memory model. This patch also uses these new function to fix a data race with freed_pool_t's |top| data member. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=90318 Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
* freed-pool: Don't access beyond the end of the array.Chris Wilson2010-05-201-1/+3
| | | | | | Argh. This bug has been here for quite some time and only showed itself with a corrupt pointer on ppc32. Since the erroneous write is inside the block, it remained undetected by valgrind.
* Update FSF addressAndrea Canciani2010-04-271-1/+1
| | | | | | | | | | | I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
* Unify the two freed object poolsChris Wilson2010-01-221-0/+91
Discard some duplicate code and shared a single freed object pointer pool between the pattern and clip.