Imagemagick "Text to Image" -size and -pointsize behavior broken after security fix

Bug #1646607 reported by Andrew Martin
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
imagemagick (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

There was a USN published on 11/30/16 for several CVEs:
https://www.ubuntu.com/usn/usn-3142-1/

I am running imagemagick on Ubuntu 14.04, and consequently was upgraded to version 8:6.7.7.10-6ubuntu3.3 via unattended-upgrades. However, after this upgrade, I find that behavior for creating images from text no longer works.

This works on 8:6.7.7.10-6ubuntu3:
````
convert -size "126" -font Impact-Regular -fill gray -gravity Center label:"TEST TEXT" /tmp/out.png
````

But on 8:6.7.7.10-6ubuntu3.3 it gives this error:
````
convert -size "126" -font Impact-Regular -fill gray -gravity Center label:"TEST TEXT" /tmp/out.png
convert.im6: no images defined `/tmp/out.png' @ error/convert.c/ConvertImageCommand/3044.
````

Moreover, using the **exact** command (specifically the 3rd one, where width but not height is specified) in the [Best Fit To Image](https://www.imagemagick.org/Usage/text/#label_bestfit) section of the Imagemagick documentation fail with the same error:
````
  convert -background lightblue -fill blue -font Candice \
          -size 160x label:Anthony label_size_width.gif
````

Is this a regression introduced by the security update? If so, is there a way to fix this?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in imagemagick (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Martin (asmartin) wrote :

Any updates on this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.