author | pkidd <patrick.kidd@oracle.com> |
Thu, 06 Oct 2016 15:40:32 -0700 | |
branch | s11u3-sru |
changeset 7068 | 568b699564d4 |
parent 3706 | bd45826ad92c |
permissions | -rw-r--r-- |
Fix for grolbp segfaulting when given unexpected arguments (CR #18122012). This fix is already integrated into the groff git repository upstream. --- groff-1.19.2/src/devices/grolbp/lbp.cpp.orig 2014-01-23 10:59:06.859623493 -0800 +++ groff-1.19.2/src/devices/grolbp/lbp.cpp 2014-01-23 10:59:47.816730501 -0800 @@ -719,6 +719,7 @@ do_file("-"); while (optind < argc) do_file(argv[optind++]); - lbpputs("\033c\033<"); + if (lbpoutput) + lbpputs("\033c\033<"); return 0; }