1#verbose on 2open bug2.file.tmp 3 4# Two bugs while updating a short Subject: header immediately before 5# a still virgin "append header" pointer record. 6# 7# Symptom: 8# 9# warning: <filename>: malformed pointer record value: <garbage> 10# 11# Cause: 12# 13# Failure to recognize the "append header" record while updating 14# a short message header 15# 16# Analysis: 17# 18# This happened while updating a header record that was followed by 19# the current "append header" record. The pointer could be the initial 20# "append header" record between message header and body, or it could 21# be a later version of that pointer somewhere in the heap. 22# 23# - Postfix considered the pointer record as any pointer record after 24# a header record. Thus, it decided that some portion of the pointer 25# record could be overwritten with the location of the new Subject: 26# header on the heap. Later "append header" operations would then 27# update old "append header" record and thus clobber part of the 28# pointer to the new Subject: header value. 29# 30# - While saving the "append header" pointer record value on the 31# heap, Postfix did not replace the still virgin "0" append header" 32# pointer record value by the actual location of the message body 33# content. 34 35upd_header 1 Subject hey! 36add_header foo foobar 37close 38