[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. v0.5-437-g5f1011a
From: |
Justus Winter |
Subject: |
[SCM] Hurd branch, master, updated. v0.5-437-g5f1011a |
Date: |
Mon, 01 Sep 2014 09:20:57 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via 5f1011ac0ad676d1e7eaba14d1384180e98fb93e (commit)
from 334801c52c9844c06eacbe2e3af65852f7412e3c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5f1011ac0ad676d1e7eaba14d1384180e98fb93e
Author: Justus Winter <address@hidden>
Date: Fri Jun 20 14:27:59 2014 +0200
include: detect use-after-free errors using the reference counts
* include/refcount.h (refcount_init): There must be at least one
reference at initialization time.
(refcounts_init): Likewise.
(refcount_unsafe_ref): New function retaining the previous
functionality of refcount_ref. It is occasionally useful to raise the
reference count again after it dropped to zero.
(refcounts_unsafe_ref): Likewise.
(refcounts_unsafe_weak_ref): Likewise.
(refcount_ref): Detect use-after-free errors.
(refcounts_ref): Likewise.
(refcounts_ref_weak): Likewise.
* libtrivfs/protid-clean.c (trivfs_clean_protid): Use refcount_unsafe_ref.
-----------------------------------------------------------------------
Summary of changes:
include/refcount.h | 73 +++++++++++++++++++++++++++++++++++++++++-----
libtrivfs/protid-clean.c | 2 +-
2 files changed, 66 insertions(+), 9 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. v0.5-437-g5f1011a,
Justus Winter <=