projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f35b88
)
oops, d can be NULL !
author
Pierre Habouzit
<madcoder@debian.org>
Sun, 3 Dec 2006 19:29:09 +0000
(20:29 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Sun, 3 Dec 2006 19:29:09 +0000
(20:29 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
alias.c
patch
|
blob
|
history
diff --git
a/alias.c
b/alias.c
index
fdf74c0
..
5eab9db
100644
(file)
--- a/
alias.c
+++ b/
alias.c
@@
-160,7
+160,8
@@
static int alias_sanitize(const char *s, char *d)
s++;
}
- *d = '\0';
+ if (d)
+ *d = '\0';
return rv;
}