1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Coverity Uncovers More Problems In Mesa

Mesa

Published on 01 December 2012 09:47 AM EST
Written by Michael Larabel in Mesa
3 Comments

A handful of memory-related issues were plugged up yesterday in Mesa thanks to the Coverity static code analysis tools.

A Radeon memory leak, use-after-free, uninitialized variable usage, and other problems were fixed up yesterday in the mainline Mesa cpde=base. These issues were spotted during an internal Coverity scan of the Mesa code-base at Red Hat. None of these newly discovered flaws though are critical in nature.

Coverity scans in the past have found dozens of problems in Mesa and hundreds of other free software projects.

For those unfamiliar with Coverity, their commercial static code analysis tool generally does a very good job at detecting bugs within C/C#/C++ and Java code-bases. While it's commercial closed-source software, they do scan open-source projects and have found thousands of bugs over the years. Coverity's Quality Advisor product is able to spot all sorts of errors from incorrect API usage, memory problems, null pointer dereferences, performance inefficiences, resource leaks, deadlocks, best practice coding errors, and code maintainability issues.

For those that may be looking for open-source alternatives to some of the features offered by the Coverity tools, one of the closest (and most hopeful) competitors would be LLVM's Clang compiler with its built-in static analyzer. Other useful static analysis tools that are open-source include cppcheck, Stanford's Saturn, and Calysto, among many others.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux News
  1. At Least Two Ubuntu Phone Announcements Expected In June
  2. Russia's Baikal Chips End Up Going For A MIPS CPU
  3. Mesa Git OpenGL Tests With Intel Ivy Bridge Graphics
  4. Blender 2.75 Allows For AMD OpenCL Support
  5. GNOME's Mutter 3.17.2 Adds X11/Wayland Clipboard Interoperation
  6. Wayland 1.8 RC2 Arrives Along With New Weston Compositor Release
  7. LLVM 3.7 Is Planned For A Late August Release
  8. The OpenGL ES 3.1 Foundation Is Being Laid In Mesa
  9. There Are 140k Benchmark Results So Far On LinuxBenchmarking.com
  10. LLVM 3.6.1 Brings R600 & MIPS Fixes
Latest Articles & Reviews
  1. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  2. The Latest Features For Linux Performance Management + Benchmark Monitoring
  3. Noctua NH-U12DX i4 + NF-F12
  4. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
Most Viewed News This Week
  1. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  2. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  3. Systemd 220 Has Finally Been Released
  4. Zapcc Claims To Be A "Much Faster C++ Compiler"
  5. LibreOffice 5.0 Beta 1 Released
  6. OpenWRT 15.05 Preparing Improved Security & Better Networking
  7. Ubuntu's LXD vs. KVM For The Linux Cloud
  8. Features Added To Mesa 10.6 For Open-Source GPU Drivers