projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f1edb
)
Coverity: CID 681: TAINTED STRING
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Fri, 24 Feb 2012 21:26:52 +0000
(16:26 -0500)
committer
Nelson Ferreira
<nelson.ferreira@ieee.org>
Fri, 24 Feb 2012 21:26:52 +0000
(16:26 -0500)
* src/emacs.c (main): Be even more strict on checks...
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index
abb1794
..
d1d1b78
100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-2606,6
+2606,8
@@
main(int argc, char **argv, char **envp)
int restarted = 0;
int arg;
+ assert(vol_argv[0] != NULL || vol_argv[0][0] != '\0');
+ assert(argc >= 1);
for( arg=1; arg < argc; arg++ ) {
assert(vol_argv[arg] != NULL);
}