diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:08:22 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:08:22 -0600 |
commit | 81e994d7907f850506ddc248f84761a54995e58c (patch) | |
tree | 3bc4993b48ddeec45dee51323437200ab975887c /pico/random.c | |
parent | 077522d7e058133f9de99d0d74481566b21c5a98 (diff) | |
download | alpine-81e994d7907f850506ddc248f84761a54995e58c.tar.xz |
* Fix not allow remote execution by adding PIPE_NOSHELL to the opening of a url by
a browser.
Diffstat (limited to 'pico/random.c')
-rw-r--r-- | pico/random.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pico/random.c b/pico/random.c index 780c083e..4b52bcac 100644 --- a/pico/random.c +++ b/pico/random.c @@ -74,7 +74,10 @@ showcpos(int f, int n) thisline+1, lines+1, (int)((100L*(thisline+1))/(lines+1)), nbc, nch, (nch) ? (int)((100L*nbc)/nch) : 0); - emlwrite(buffer, NULL); + if(Pmaster) + strcpy(Pmaster->curpos, buffer); + else + emlwrite(buffer, NULL); return (TRUE); } |