commit | fb07e4df631d62a45bb99aca482529d01442a09f | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Thu Oct 06 18:34:01 2022 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Fri Oct 07 12:38:30 2022 +0000 |
tree | d5a0ecb5108c64d426ebb0acf78ecbad335af820 | |
parent | f3f2e87572c1540efcb5fcdc0577a5ac1d4a83d7 [diff] |
[skottie] Fix empty line indexing issue It's possible to get empty (count = 0) spans in the line domain map, with e.g. explicit line breaking ("\r\r\r..."). Related code should guard against this condition to avoid indexing at invalid offsets. Bug: b/238046903 Change-Id: I42308f57c680d281b0f8fe020146314146debe2a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/588738 Reviewed-by: Jorge Betancourt <jmbetancourt@google.com> Commit-Queue: Florin Malita <fmalita@google.com>