[Bug 25403] SVGHandler does not properly escape ImageMagick input

2013-09-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25403

Nemo  changed:

   What|Removed |Added

 Blocks||8901

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 25403] SVGHandler does not properly escape ImageMagick input

2014-05-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25403

Bawolff (Brian Wolff)  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #11 from Bawolff (Brian Wolff)  ---
(In reply to David from comment #7)
> (In reply to comment #6)
> > Oh, sorry, I wasn't aware of the $wgSVGConverter variable. I'll add it right
> > away.
> 
> Just for completeness' sake I'll add the debugging output below. It seems
> odd though that it 496 bytes would not be allocatable.

Its probably the last 496 bytes that give a problem (e.g. The limit was already
almost over the limit, and the last allocation of 496 bytes is what brought it
over).

Please increase $wgMaxShellMemory in your LocalSettings.php file

-

Closing invalid. This appears to be a configuration error. The default for
$wgMaxShellMemory has been increased since this bug was filed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 25403] SVGHandler does not properly escape ImageMagick input

2011-04-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25403

Bryan Tong Minh  changed:

   What|Removed |Added

Summary|Problems with wfShellExec   |SVGHandler does not
   |escaping for imagemagick's  |properly escape ImageMagick
   |convert |input

--- Comment #9 from Bryan Tong Minh  2011-04-01 
20:00:37 UTC ---
Tweaking summary.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 25403] SVGHandler does not properly escape ImageMagick input

2011-04-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=25403

--- Comment #10 from Bawolff  2011-04-02 18:21:52 UTC ---
Works for me on both trunk (1.18 - r85088) as well as on 1.15.5.

The command used (according to debug messages) is:
/bin/bash '/var/www/w/phase3/bin/ulimit4.sh' 180 102400 102400 'convert
-background white -thumbnail 128x128\!
'\''/var/www/w/phase3/images/0/0e/Inkscape_logo_2.svg'\''
PNG:'\''/var/www/w/phase3/images/thumb/0/0e/Inkscape_logo_2.svg/128px-Inkscape_logo_2.svg.png'\''
2>&1'

Version of inkscape is

bawolff@Bawolff-L:/var/www/w/phase3$ convert --version
Version: ImageMagick 6.3.7 08/07/09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC

Version of wmf2eps is:

bawolff@Bawolff-L:/var/www/w/phase3$ wmf2eps --version
libwmf: version 0.2.8



>I've tried executing the same command on the shell and it works flawlessly when
>removing all of the single quotes. I think that convert is somehow interpreting
>both arguments, source file and output file as a single argument due to some
>erroneous escaping. (Removing one pair of "\'" from every argument works as
>well)

When trying it on shell, did you include the ulimit.sh part to? Did you try at
as the same user as apache, did increasing $wgMaxShellMemory do anything for
making it work on mediawiki, etc.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are watching all bug changes.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l