Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[vector_graphics] image elements within .svg files cause run time crash #158872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stuartmorgan-g opened this issue Nov 13, 2024 · 0 comments
Open
Labels
p: vector_graphics The vector_graphics package set package flutter/packages repository. See also p: labels. team-engine Owned by Engine team

Comments

@stuartmorgan-g
Copy link
Contributor

Imported from dnfield/vector_graphics#256

Original report by @ChristianEdwardPadilla on Sep 19, 2024

An image element within an SVG file parsed with this package was observed to cause crashes at run time with the following stack trace:

_TypeError: Flutter framework
  at FlutterVectorGraphicsListener.onDrawImage	(listener.dart: 773)
  at VectorGraphicsCodec.decode	(vector_graphics_codec.dart: 218)
  at decodeVectorGraphics.process.<anonymous closure>	(listener.dart: 99)
  at <asynchronous gap>	(async)
  at VectorGraphicWidgetState._loadPicture.<anonymous closure> (#2)	(vector_graphics.dart: 369)
  at <asynchronous gap>	(async)
  at VectorGraphicWidgetState._loadAssetBytes.<anonymous closure>	(vector_graphics.dart: 402)
  at <asynchronous gap>	(async)

(internal tracking issue b/368358823)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: vector_graphics The vector_graphics package set package flutter/packages repository. See also p: labels. team-engine Owned by Engine team
Projects
None yet
Development

No branches or pull requests

2 participants