~ubuntu-branches/debian/sid/libyaml-libyaml-perl/sid

« back to all changes in this revision

Viewing changes to LibYAML/perl_libyaml.c

  • Committer: Package Import Robot
  • Author(s): Niko Tyni, Julián Moreno Patiño, Niko Tyni
  • Date: 2012-03-10 08:57:07 UTC
  • Revision ID: package-import@ubuntu.com-20120310085707-bkfpg839l9fvj59w
Tags: 0.38-2
* Team upload.

[ Julián Moreno Patiño ]
* Enable hardening flags. (Closes: #661548)
  + Switch compat level 8 to 9.
  + Add fix_ftbfs_hardening_flags.diff patch.
  + Bump debhelper version to 9.
* Bump Standards-Version to 3.9.3.
  + Update to DEP5 copyright-format 1.0.
    + Add /me to debian copyright.

[ Niko Tyni ]
* Note that this fixes CVE-2012-1152.
* Upload at urgency=medium

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
    return;
189
189
 
190
190
load_error:
191
 
    croak(loader_error_msg(&loader, NULL));
 
191
    croak("%s", loader_error_msg(&loader, NULL));
192
192
}
193
193
 
194
194
/*
271
271
    return return_sv;
272
272
 
273
273
    load_error:
274
 
        croak(loader_error_msg(loader, NULL));
 
274
        croak("%s", loader_error_msg(loader, NULL));
275
275
}
276
276
 
277
277
/*
313
313
        }
314
314
        else if (strlen(tag) <= strlen(prefix) ||
315
315
            ! strnEQ(tag, prefix, strlen(prefix))
316
 
        ) croak(
 
316
        ) croak("%s",
317
317
            loader_error_msg(loader, form("bad tag found for hash: '%s'", tag))
318
318
        );
319
319
        class = tag + strlen(prefix);
346
346
            prefix = "!";
347
347
        else if (strlen(tag) <= strlen(prefix) ||
348
348
            ! strnEQ(tag, prefix, strlen(prefix))
349
 
        ) croak(
 
349
        ) croak("%s",
350
350
            loader_error_msg(loader, form("bad tag found for array: '%s'", tag))
351
351
        );
352
352
        class = tag + strlen(prefix);