$OpenBSD: patch-texk_web2c_synctexdir_synctex-e-rec_ch0,v 1.1 2011/11/23 12:00:45 edd Exp $

dvips, e-ptex fixes (buffer overflow/memory corruption) on tl11 branch.
http://tug.org/pipermail/tldistro/2011q4/000149.html

--- texk/web2c/synctexdir/synctex-e-rec.ch0.origy	Wed Jul  8 12:35:32 2009
+++ texk/web2c/synctexdir/synctex-e-rec.ch0	Sun Oct 23 20:54:17 2011
@@ -1,4 +1,4 @@
-Copyright (c) 2008, 2009 jerome DOT laurens AT u-bourgogne DOT fr
+Copyright (c) 2008-2011 jerome DOT laurens AT u-bourgogne DOT fr
 
 This file is part of the SyncTeX package.
 
@@ -82,21 +82,11 @@ MISSING IMPLEMENTATION: 0 synctag for medium sized nod
 link(prev_p):=p;
 @z
 
-@x etex.ch l.4126
-  if is_char_node(p) then r:=get_avail
-  else case type(p) of
+@x etex.ch l.4186
   hlist_node,vlist_node: begin r:=get_node(box_node_size);
-    mem[r+6]:=mem[p+6]; mem[r+5]:=mem[p+5]; {copy the last two words}
-    words:=5; list_ptr(r):=null; {this affects |mem[r+5]|}
-    end;
 @y
-  if is_char_node(p) then r:=get_avail
-  else case type(p) of
   hlist_node,vlist_node: begin r:=get_node(box_node_size);
     @<Copy the box {\sl Sync\TeX} information@>;
-    mem[r+6]:=mem[p+6]; mem[r+5]:=mem[p+5]; {copy the last two words}
-    words:=5; list_ptr(r):=null; {this affects |mem[r+5]|}
-    end;
 @z
 
 @x synctex-e-mem.ch0 l.100
