Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Unable to resize images in browser, posted by Matthew Deller on Tue Feb 18 21:32:27 2014 
    icon2.gif   Re: Unable to resize images in browser, posted by Stefan Ritt on Fri Feb 21 13:09:48 2014 
       icon2.gif   Re: Unable to resize images in browser, posted by Matt Deller on Thu Jun 19 09:35:20 2014 
Message ID: 67666     Entry time: Fri Feb 21 13:09:48 2014     In reply to: 67662     Reply to this: 67689
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.9.2 
Subject: Re: Unable to resize images in browser 

Matthew Deller wrote:
I am unable to resize/ manipulate images in browser. Image Magick detected Version: ImageMagick 6.6.9-7 2012-08-17.

Output when running elog with verbose option shows buffer overflow when resize attempted:
[[Going to execute: /bin/sh -c "identify -format '%wx%h %c' '/home/elog/elog-2.9.2/logbooks/HardwareLog/140218_120423_2014-02-18_remod_(extended_II).png.png'" > /tmp/elog-shell 2>&1
Falling back to default group "elog"
Falling back to default user "elog"
*** buffer overflow detected ***: elogd terminated

Any ideas how to fix this? I'm not sure if this is a problem with the elog / Ubuntu / Image Magick?


What happens if you execute the command manually, like

$ identify -format '%wx%h %c' '/home/elog/elog-2.9.2/logbooks/HardwareLog/140218_120423_2014-02-18_remod_(extended_II).png.png

The "identify" command just checks the size in pixels of your image and expects something like 800x600. Let me know if this command returns something completely different.

/Stefan
ELOG V3.1.5-3fb85fa6