This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX".
The branch, master has been updated via 837d590008c1dd4e92ffbce15008efb761d11f7c (commit) from b20eea0e238d4283ea168feec1ad54a841bce186 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 837d590008c1dd4e92ffbce15008efb761d11f7c Author: David Kastrup <d...@gnu.org> Date: Mon Nov 6 23:58:23 2017 +0100 Remove use of .runandhide operator Ghostscript bug 698680 <https://bugs.ghostscript.com/show_bug.cgi?id=698680> has been caused by the removal of the .runandhide operator in Ghostscript 9.22 upstream. Since .runandhide has no longer been used in a security-critical manner, its operation can be emulated by storing the respective information in a .preview-ST variable. Potentially malicious code would not be able to retrieve a non-safe "save" object from here. diff --git a/preview.el.in b/preview.el.in index d113721..6685341 100644 --- a/preview.el.in +++ b/preview.el.in @@ -738,10 +738,10 @@ SETUP may contain a parser setup function." null eq{pop{pop}bind}if def\ <</BeginPage{currentpagedevice/PageSize get dup 0 get 1 ne exch 1 get 1 ne or\ {.preview-BP %s}{pop}ifelse}bind/PageSize[1 1]>>setpagedevice\ -/preview-do{[count 3 roll save]3 1 roll dup length 0 eq\ -{pop}{setpagedevice}{ifelse .runandhide}\ +/preview-do{/.preview-ST[count 4 roll save]def dup length 0 eq\ +{pop}{setpagedevice}{ifelse exec}\ stopped{handleerror quit}if \ -aload pop restore}bind def " +.preview-ST aload pop restore}bind def " (preview-gs-color-string preview-colors))) (preview-gs-queue-empty) (preview-parse-messages (or setup #'preview-gs-dvips-process-setup)))) @@ -1090,7 +1090,7 @@ NONREL is not NIL." .locksafe} stopped pop " (mapconcat 'preview-ps-quote-filename all-files "")) preview-gs-init-string - (format "[%s(r)file]aload exch %s .runandhide aload pop " + (format " %s(r)file /.preview-ST 1 index def %s exec .preview-ST " (preview-ps-quote-filename file) (preview-gs-dsc-cvx 0 preview-gs-dsc)))))) ----------------------------------------------------------------------- Summary of changes: preview.el.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- GNU AUCTeX _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs