Jump to content
Sign in to follow this  
Joachim_L

Crashing Publisher with 34 bytes

Recommended Posts

Maybe the import function of Publisher wants to make more sense of a file content than it is obviously in it.

I created a small file with an (ancient) editor with the content:

<Heading 1>Überschrift</Heading 1>

saved it as Header2.rtf without being a real RTF file and tried to place it with Publisher. Publisher hangs at once.

A working RTF (don't mind the nonsense in it) should read:

{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1031{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator Riched20 6.3.9600}\viewkind4\uc1 
\pard\sa200\sl276\slmult1\f0\fs22\lang7 <Heading 1>Überschrift</Heading 1>\par
}

 

Share this post


Link to post
Share on other sites

Hi Joachim,

I've logged this, we should handle invalid rtf files better than just hanging whilst attempting to read them.

Thanks


Serif Europe Ltd. - www.serif.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×