[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. v0.5-420-g944cfdb
From: |
Justus Winter |
Subject: |
[SCM] Hurd branch, master, updated. v0.5-420-g944cfdb |
Date: |
Wed, 18 Jun 2014 13:57:32 +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 944cfdbe6cff4e8025a730228b48c1a21b4a2e33 (commit)
via 8821d8a213008eb723414c6c70de384830ea10d7 (commit)
via 470972f3f854e92ee1cc8f1e2ada8412a2b97956 (commit)
via 7c5f22e6c746e97871c0339c0068825018754822 (commit)
via b5a6e598c9f596f13d6aec151ee2efb9bf696b21 (commit)
from fda66d0405f0fdf42cc6c7ae5e494c4ca3c83ad7 (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 944cfdbe6cff4e8025a730228b48c1a21b4a2e33
Author: Justus Winter <address@hidden>
Date: Tue Jun 10 14:22:31 2014 +0200
libdiskfs: add permission check to file_chflags
Only root is allowed to change the high 16 bits. The TODO entry says
otherwise, but that must be a mistake. For reference, see the glibc
sources, sysdeps/mach/hurd/bits/stat.h.
* libdiskfs/file-chflags.c (diskfs_S_file_chflags): Add permission
check.
* TODO (libdiskfs): Remove entry.
commit 8821d8a213008eb723414c6c70de384830ea10d7
Author: Justus Winter <address@hidden>
Date: Mon Jun 16 17:34:22 2014 +0200
libports: avoid realloc(3) corner case
If the size argument is 0, realloc may either return NULL, or return a
pointer that is only valid for use with free(3). In either case, the
memory is freed. So if realloc would return NULL (it does not on
GNU), the current code would double free p.
Found using the Clang Static Analyzer.
* libports/bucket-iterate.c (_ports_bucket_class_iterate): Avoid
calling realloc if no ports were matched.
commit 470972f3f854e92ee1cc8f1e2ada8412a2b97956
Author: Justus Winter <address@hidden>
Date: Mon Jun 16 16:50:12 2014 +0200
trans/fakeroot: fix error handling
Found using the Clang Static Analyzer.
* trans/fakeroot.c (new_node): Do not leak a pointer to freed memory.
Store NULL at *np instead. This fixes a node use-after-free in
netfs_S_dir_lookup.
commit 7c5f22e6c746e97871c0339c0068825018754822
Author: Justus Winter <address@hidden>
Date: Wed Nov 20 12:17:03 2013 +0100
libshouldbeinlibc: fix dead initialization in fmt_named_interval
Found using the Clang Static Analyzer.
* libshouldbeinlibc/timefmt.c (fmt_named_interval): Fix dead
initialization.
commit b5a6e598c9f596f13d6aec151ee2efb9bf696b21
Author: Justus Winter <address@hidden>
Date: Wed Nov 20 11:58:41 2013 +0100
ftpfs: fix error handling in refresh_dir
Found using the Clang Static Analyzer.
* ftpfs/dir.c (refresh_dir): Fix error handling.
-----------------------------------------------------------------------
Summary of changes:
TODO | 2 --
ftpfs/dir.c | 20 ++++++++++++--------
libdiskfs/file-chflags.c | 8 ++++++++
libports/bucket-iterate.c | 2 +-
libshouldbeinlibc/timefmt.c | 2 +-
trans/fakeroot.c | 1 +
6 files changed, 23 insertions(+), 12 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. v0.5-420-g944cfdb,
Justus Winter <=