[Pkg-wmaker-commits] [wmbubble] 19/207: Fix stupid oversight segfault
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:17:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmbubble.
commit 592bc826f519f2fd5f252d96bc5686ab56be2118
Author: Robert Jacobs <rnjacobs at mit.edu>
Date: Tue Jul 26 17:23:50 2011 -0700
Fix stupid oversight segfault
---
bubblemon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bubblemon.c b/bubblemon.c
index 9f7ccb0..7f5b0aa 100644
--- a/bubblemon.c
+++ b/bubblemon.c
@@ -338,7 +338,7 @@ int main(int argc, char **argv)
/* set default things, from Xresources or compiled-in defaults. Must come after initwmX11pixmap and we have a DISPLAY */
bubblemon_session_defaults(x_resource_db);
- if (do_help || argv[1][0] == '-') { /* That's gotta be wrong. */
+ if (do_help || (argv[1] && argv[1][0] == '-')) { /* That's gotta be wrong. */
print_usage();
exit(0);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbubble.git
More information about the Pkg-wmaker-commits
mailing list