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. backends/
  2. extensions/
  3. gdx/
  4. tests/
  5. .gitattributes
  6. .gitignore
  7. Android.mk
  8. AUTHORS
  9. build-mac-ios.xml
  10. build-template.xml
  11. build.gradle
  12. build.xml
  13. CC-LICENSE
  14. CCLA.txt
  15. CHANGES
  16. CLA.txt
  17. CONTRIBUTING.md
  18. CONTRIBUTORS
  19. eclipse-formatter.xml
  20. fetch.xml
  21. ISSUE_TEMPLATE.md
  22. libgdx_logo.svg
  23. LICENSE
  24. pom.xml
  25. README.md
  26. settings.gradle
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.