From 6880db45dc23e01f808649a0681f4f16b893b9d7 Mon Sep 17 00:00:00 2001 From: "Olli.Pettay@helsinki.fi" Date: Mon, 31 Mar 2008 04:58:00 -0700 Subject: [PATCH] Bug 423965, [@ nsFind::Find], r+sr=jst, a=beltzner --- embedding/components/find/src/nsFind.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/embedding/components/find/src/nsFind.cpp b/embedding/components/find/src/nsFind.cpp index c6c5aef40879..86a4e05b6888 100644 --- a/embedding/components/find/src/nsFind.cpp +++ b/embedding/components/find/src/nsFind.cpp @@ -942,6 +942,9 @@ nsFind::Find(const PRUnichar *aPatText, nsIDOMRange* aSearchRange, (void*)aSearchRange, (void*)aStartPoint, (void*)aEndPoint); #endif + NS_ENSURE_ARG(aSearchRange); + NS_ENSURE_ARG(aStartPoint); + NS_ENSURE_ARG(aEndPoint); NS_ENSURE_ARG_POINTER(aRangeRet); *aRangeRet = 0;