Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/rpc.lockd Pull up revision 1.5 (requested by b...



details:   https://anonhg.NetBSD.org/src/rev/d145dfe5d0e8
branches:  netbsd-1-5
changeset: 490431:d145dfe5d0e8
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Tue Dec 26 03:38:53 2000 +0000

description:
Pull up revision 1.5 (requested by bouyer):
  Fix an error freeing the wrong lock; in some cases this might have lfree()'d
  a NULL pointer.

diffstat:

 usr.sbin/rpc.lockd/lockd_lock.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c969a54eee7d -r d145dfe5d0e8 usr.sbin/rpc.lockd/lockd_lock.c
--- a/usr.sbin/rpc.lockd/lockd_lock.c   Tue Dec 26 02:08:26 2000 +0000
+++ b/usr.sbin/rpc.lockd/lockd_lock.c   Tue Dec 26 03:38:53 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lockd_lock.c,v 1.2.2.1 2000/07/07 11:33:34 itojun Exp $        */
+/*     $NetBSD: lockd_lock.c,v 1.2.2.2 2000/12/26 03:38:53 jhawk Exp $ */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -264,7 +264,7 @@
                do_mon(lckarg->alock.caller_name);
                break;
        default:
-               lfree(fl);
+               lfree(newfl);
                break;
        }
        sigunlock();



Home | Main Index | Thread Index | Old Index