svn commit: samba r9311 - in
branches/SAMBA_4_0/source/lib/appweb/ejs: .
sfrench at samba.org
sfrench at samba.org
Tue Aug 16 00:01:25 GMT 2005
Author: sfrench
Date: 2005-08-16 00:01:25 +0000 (Tue, 16 Aug 2005)
New Revision: 9311
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9311
Log:
Missing null pointer check in ejsLib
Found by coverity
Modified:
branches/SAMBA_4_0/source/lib/appweb/ejs/ejsLib.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/appweb/ejs/ejsLib.c
===================================================================
--- branches/SAMBA_4_0/source/lib/appweb/ejs/ejsLib.c 2005-08-15 23:52:15 UTC (rev 9310)
+++ branches/SAMBA_4_0/source/lib/appweb/ejs/ejsLib.c 2005-08-16 00:01:25 UTC (rev 9311)
@@ -327,7 +327,8 @@
* Error return
*/
error:
- *emsg = mprStrdup(ep->error);
+ if(emsg)
+ *emsg = mprStrdup(ep->error);
return -1;
}
More information about the samba-cvs
mailing list