Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/jemalloc/dist/src revert previous sshd hack (fr...



details:   https://anonhg.NetBSD.org/src/rev/193720d96f1d
branches:  trunk
changeset: 997596:193720d96f1d
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Mar 14 21:49:32 2019 +0000

description:
revert previous sshd hack (from Rin Okuyama)

diffstat:

 external/bsd/jemalloc/dist/src/jemalloc.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (19 lines):

diff -r e0ced720c69f -r 193720d96f1d external/bsd/jemalloc/dist/src/jemalloc.c
--- a/external/bsd/jemalloc/dist/src/jemalloc.c Thu Mar 14 21:10:33 2019 +0000
+++ b/external/bsd/jemalloc/dist/src/jemalloc.c Thu Mar 14 21:49:32 2019 +0000
@@ -2339,14 +2339,9 @@
                                tcache = NULL;
                        }
                        ifree(tsd, ptr, tcache, true);
-#ifdef notyet
-                       /*
-                        * sshd depends on realloc(p, 0) returning non-NULL
-                        * disable for compatibility for now
-                        */
+
                        LOG("core.realloc.exit", "result: %p", NULL);
                        return NULL;
-#endif
                }
                size = 1;
        }



Home | Main Index | Thread Index | Old Index