Project

General

Profile

« Previous | Next » 

Revision 44816

yaml/api.c, yaml/loader.c: integer overflow

  • ext/psych/yaml/api.c (yaml_scalar_event_initialize): fix possible
    integer overflow.
    (yaml_document_add_scalar): ditto.
    (yaml_document_add_sequence): ditto.
    (yaml_document_add_mapping): ditto.

  • ext/psych/yaml/loader.c (yaml_parser_load_scalar): ditto.
    (yaml_parser_load_sequence): ditto.
    (yaml_parser_load_mapping): ditto.

  • ext/psych/yaml/scanner.c (yaml_parser_roll_indent): suppress
    warnigs.