Fix Pixmap overflow. Bug 36621442

Fixes a problem when reading malformed image files.
The PoC is specific to ETC and KTX files, but might
affect other image formats since a fix was
made in the code that clears a Pixmap.

Test: PoC
Bug: 36621442
Change-Id: Iba6664b3e72876b70f36ea0a4627996dcfc619ae
(cherry picked from commit 394ac762bbcedaca292d3ccdef74ac49f42a28b2)
2 files changed
tree: df41cf1a16bdba50f6350117c243d3f54ddaf7b5
  1. .gitattributes
  2. .gitignore
  3. AUTHORS
  4. Android.mk
  5. CC-LICENSE
  6. CCLA.txt
  7. CHANGES
  8. CLA.txt
  9. CONTRIBUTING.md
  10. CONTRIBUTORS
  11. ISSUE_TEMPLATE.md
  12. LICENSE
  13. README.md
  14. backends/
  15. build-mac-ios.xml
  16. build-template.xml
  17. build.gradle
  18. build.xml
  19. eclipse-formatter.xml
  20. extensions/
  21. fetch.xml
  22. gdx/
  23. libgdx_logo.svg
  24. pom.xml
  25. settings.gradle
  26. tests/
README.md

logo

Build Status

libGDX is a cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux, Mac OS X, Android, your WebGL enabled browser and iOS.

Getting Started

Downloads

As we switched to Gradle, there's no need to download libGDX itself anymore. For those of you who still prefer the old way of doing things, you can get libGDX from the official download site.

Documentation

The Wiki contains all the information you'll need to write a libGDX game. You can contribute to the Wiki directly here on GitHub!

We also provide Javadocs online. The Javadocs are also bundled as source Jars with every libGDX distribution for consumption in your favorite IDE.

News & Community

You can follow the latest news about libGDX on the blog. Follow @badlogicgames for real-time updates.

You can get help on our forum and talk to other libGDX users on our IRC channel #libgdx at irc.freenode.net.

Reporting Issues

Use the issue tracker here on GitHub to report issues. Make sure you read the Getting Help article that walks you through the process or properly reporting an issue.

Contributing & Working from Source

libGDX has a strong developer community constantly improving the code base. We love to get any and all help we can. The Contributing article describes the process of helping libGDX to become even better.

To contribute, you need to work with libGDX' sources directly, something normal users do not have to go through. The Working with the Source article will give you directions.

You can also contribute financially to our infrastructure (build server, web server, test devices) via our Patreon!

License

libGDX is licensed under the Apache 2 License, meaning you can use it free of charge, without strings attached in commercial and non-commercial projects. We love to get (non-mandatory) credit in case you release a game or app using libgdx!

Supported By

libGDX is supported by helpful 3rd parties via code contributions, free licenses, test devices and so forth. Make our supporters happy and visit their sites!

Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.