projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d87cf4
)
Fix a segfault that happens when using the -file option.
author
Ken Hornstein
<kenh@pobox.com>
Wed, 29 Feb 2012 13:52:26 +0000
(08:52 -0500)
committer
Ken Hornstein
<kenh@pobox.com>
Wed, 29 Feb 2012 13:52:26 +0000
(08:52 -0500)
uip/dist.c
patch
|
blob
|
history
diff --git
a/uip/dist.c
b/uip/dist.c
index
807eb78
..
20ae318
100644
(file)
--- a/
uip/dist.c
+++ b/
uip/dist.c
@@
-303,7
+303,7
@@
try_it_again:
msgnam = file ? file : getcpy (m_name (mp->lowsel));
- dat[0] = mp->lowsel;
+ dat[0] = mp ? mp->lowsel : 0;
dat[1] = 0;
dat[2] = 0;
dat[3] = outputlinelen;