Skip to content

Commit

Permalink
This should resolve the crash indicated in issue 44:
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsherry authored and rsc committed Feb 19, 2010
1 parent 9a05452 commit 93ee60c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@

Albert Lee <trisk@acm.jhu.edu>
André Günther <Andre.G@gmx.de>
Anthony Sorace <a@9srv.net>
Benjamin Huntsman <BHuntsman@mail2.cu-portland.edu>
Enrique Soriano <enrique.soriano@gmail.com>
Eoghan Sherry <ejsherry@gmail.com>
Fazlul Shahriar <fshahriar@gmail.com>
J.R. Mauro <jrm8005@gmail.com>
Jeff Sickel <jas@corpus-callosum.com>
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/samterm/mesg.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ hsetsnarf(int nc)
if(n >= 0){
if(!s1)
n = 0;
if(n > 65535){
if(n > SNARFSIZE){
s1 = strdup("<snarf too long>");
if (!s1)
panic("strdup");
Expand Down

0 comments on commit 93ee60c

Please sign in to comment.