[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 03/26: Fix memory leak in exec
From: |
Samuel Thibault |
Subject: |
[hurd] 03/26: Fix memory leak in exec |
Date: |
Sat, 02 Nov 2013 14:44:43 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit 9ba4ba4394e729560e72148a0e52160faf83893f
Author: Richard Braun <address@hidden>
Date: Tue Oct 8 22:22:05 2013 +0200
Fix memory leak in exec
* exec/hashexec.c (check_hashbang): Unmap command arguments.
---
exec/hashexec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/exec/hashexec.c b/exec/hashexec.c
index e20a462..5641218 100644
--- a/exec/hashexec.c
+++ b/exec/hashexec.c
@@ -426,6 +426,7 @@ check_hashbang (struct execdata *e,
deallocnames, ndeallocnames,
destroynames, ndestroynames);
mach_port_deallocate (mach_task_self (), interp_file);
+ munmap (new_argv, new_argvlen);
if (! e->error)
{
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (223b7da -> 90b039d), Samuel Thibault, 2013/11/02
- [hurd] 01/26: Check for negative sizes in file_set_size, Samuel Thibault, 2013/11/02
- [hurd] 03/26: Fix memory leak in exec,
Samuel Thibault <=
- [hurd] 02/26: Fix memory leak in libnetfs, Samuel Thibault, 2013/11/02
- [hurd] 10/26: console-client: minor stylistic fix, Samuel Thibault, 2013/11/02
- [hurd] 04/26: Revert "tmpfs: drop privileges in the tmpfs translator", Samuel Thibault, 2013/11/02
- [hurd] 26/26: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2013/11/02
- [hurd] 09/26: console-client: fix error handling, Samuel Thibault, 2013/11/02
- [hurd] 11/26: console-client: replace function epilogue with console_exit, Samuel Thibault, 2013/11/02
- [hurd] 24/26: Fix use after free, Samuel Thibault, 2013/11/02
- [hurd] 12/26: term: fix read on a closed PTY, Samuel Thibault, 2013/11/02
- [hurd] 23/26: libshouldbeinlibc: fix error handling in maptime_map, Samuel Thibault, 2013/11/02
- [hurd] 05/26: trans: rename a global variable, Samuel Thibault, 2013/11/02