ImageMagick/ImageMagick-montage.t-directory-exception.patch
Petr Gajdos ec96b36c1e - update to 7.0.7.23
* Fixed numerous use of uninitialized values, integer overflow,
    memory exceeded, and timeouts (credit to OSS Fuzz).
  * Add list-length policy to limit the maximum image sequence length.

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=337
2018-02-21 13:41:00 +00:00

13 lines
442 B
Diff

--- a/PerlMagick/t/subroutines.pl
+++ b/PerlMagick/t/subroutines.pl
@@ -1050,7 +1050,7 @@ sub testMontage {
} else {
# Check montage directory
my $directory = $montage->Get('directory');
- my $expected = join( "\n", @colors ) . "\n";
+ my $expected = join( "\xff", @colors ) . "\xff";
if ( !defined($directory) ) {
print "ok $test\n";
} elsif ( $directory ne $expected) {