diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2014-09-24 09:44:19 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-09-28 22:30:05 +0200 |
commit | 339df19f7a851ea7c92bc8d01c577e7d5fe20023 (patch) | |
tree | b37223d63d4bccabd4339f334f0e574a6e835d1e /package/keyutils/keyutils-02-another-memleak.patch | |
parent | 155a48bac214bd600f4aaa4211469d9c8f2b48f5 (diff) | |
download | buildroot-339df19f7a851ea7c92bc8d01c577e7d5fe20023.tar.gz buildroot-339df19f7a851ea7c92bc8d01c577e7d5fe20023.zip |
keyutils: Bump version to 1.5.9, fix patches and
- Bump version to 1.5.9
- Remove patches already included in this version
- Use make parameters instead of environment variables
- Add an upstream patch to fix building statically
- Adapt old patches to the new version
- Add a hash file
Fixes:
http://autobuild.buildroot.net/results/ced/ced596bd1c73286f7044f5a8e11b6588fc973f11/
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/keyutils/keyutils-02-another-memleak.patch')
-rw-r--r-- | package/keyutils/keyutils-02-another-memleak.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/package/keyutils/keyutils-02-another-memleak.patch b/package/keyutils/keyutils-02-another-memleak.patch deleted file mode 100644 index f74fd79ba5..0000000000 --- a/package/keyutils/keyutils-02-another-memleak.patch +++ /dev/null @@ -1,32 +0,0 @@ -Patch vampirised from Debian's packaging of keyutils-1.4 - -Author: Michael Gebetsroither <gebi@grml.org> -Description: Fixed another memleak (Closes: #496466). - -diff -Naurp keyutils.orig/keyutils.c keyutils/keyutils.c ---- keyutils.orig/keyutils.c 2008-08-09 21:46:52.000000000 +0200 -+++ keyutils/keyutils.c 2008-08-25 13:38:25.000000000 +0200 -@@ -187,8 +187,10 @@ int keyctl_describe_alloc(key_serial_t i - - for (;;) { - ret = keyctl_describe(id, buf, buflen); -- if (ret < 0) -+ if (ret < 0) { -+ free(buf); - return -1; -+ } - - if (buflen >= ret) - break; -@@ -226,8 +228,10 @@ int keyctl_read_alloc(key_serial_t id, v - - for (;;) { - ret = keyctl_read(id, buf, buflen); -- if (ret < 0) -+ if (ret < 0) { -+ free(buf); - return -1; -+ } - - if (buflen >= ret) - break; |