simon-git: charset (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Mon May 22 20:12:35 BST 2017


TL;DR:
  2053446 Fix an out-of-bounds array access.

Repository:     https://git.tartarus.org/simon/charset.git
On the web:     https://git.tartarus.org/?p=simon/charset.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2017-05-22 20:12:35

commit 2053446d58b1bca78192db6e929c8392cbf17f88
web diff https://git.tartarus.org/?p=simon/charset.git;a=commitdiff;h=2053446d58b1bca78192db6e929c8392cbf17f88;hp=102311655988317c71e42bbb3d454414d9179e62
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon May 22 20:10:54 2017 +0100

    Fix an out-of-bounds array access.
    
    The DOCS loop in write_iso2022 intentionally goes up to _and
    including_ the size of the ctext_encodings array, because the final
    loop iteration is a special fallback case. But that means we need to
    avoid indexing into the ctext_encodings array within that last
    iteration.

 iso2022.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list