diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-04 18:10:24 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-04 18:10:24 +0100 |
commit | b047da059a1042a27ba68b1bdc50dd187bd362f4 (patch) | |
tree | 5529bdac03674fab07bb4335fc5ce4e5654c7497 /package/asterisk/patches/patch-main_astobj2_c | |
parent | 5d93cc6de511d5330d0d0c7a0ebae8e6c9638e3d (diff) |
update kernel to 2.6.32
- update some applications
asterisk, curl, strace, radvd, rpm
- fix allconfig
- /dev for full build seems to need more than 64k
Diffstat (limited to 'package/asterisk/patches/patch-main_astobj2_c')
-rw-r--r-- | package/asterisk/patches/patch-main_astobj2_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/asterisk/patches/patch-main_astobj2_c b/package/asterisk/patches/patch-main_astobj2_c new file mode 100644 index 000000000..d8aaf114b --- /dev/null +++ b/package/asterisk/patches/patch-main_astobj2_c @@ -0,0 +1,11 @@ +--- asterisk-1.4.27.1.orig/main/astobj2.c 2009-10-06 03:16:36.000000000 +0200 ++++ asterisk-1.4.27.1/main/astobj2.c 2009-12-03 20:54:12.000000000 +0100 +@@ -236,7 +236,7 @@ int ao2_ref(void *user_data, const int d + /* for safety, zero-out the astobj2 header and also the + * first word of the user-data, which we make sure is always + * allocated. */ +- bzero(obj, sizeof(struct astobj2 *) + sizeof(void *) ); ++ memset(obj, 0, sizeof(struct astobj2 *) + sizeof(void *) ); + free(obj); + } + |