# Debugging a Corrupted Data Structure Caused by an Array and Pointer Mix-Up

DevFeed: [Debugging a Corrupted Data Structure Caused by an Array and Pointer Mix-Up](<https://devfeed.tech/articles/pita-bugs-part-2-32988.md>)

Original publisher: [Read original article](<https://reactos.org/blogs/pita-bugs-part-2/>)

Published: 2013-06-15T00:00:00Z

Content type: opinion

Language: en

Sources: [Front Page on ReactOS Website](<https://devfeed.tech/sources/front-page-on-reactos-website.md>)

Topics: [debug](<https://devfeed.tech/topics/debug.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Code](<https://devfeed.tech/topics/code.md>), [UEFI](<https://devfeed.tech/topics/uefi.md>), [bios](<https://devfeed.tech/topics/bios.md>), [Development](<https://devfeed.tech/topics/development.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>)

Tags: [bios](<https://devfeed.tech/tags/bios.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [code](<https://devfeed.tech/tags/code.md>), [code-reviews](<https://devfeed.tech/tags/code-reviews.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [development](<https://devfeed.tech/tags/development.md>), [error](<https://devfeed.tech/tags/error.md>), [free](<https://devfeed.tech/tags/free.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [os](<https://devfeed.tech/tags/os.md>), [react](<https://devfeed.tech/tags/react.md>), [reactos](<https://devfeed.tech/tags/reactos.md>), [uefi](<https://devfeed.tech/tags/uefi.md>), [win32](<https://devfeed.tech/tags/win32.md>), [winapi](<https://devfeed.tech/tags/winapi.md>)

## AI overview

A personal account of debugging a difficult bug in UEFI BIOS development. The issue involved corrupted data caused by an array and pointer mix-up, potentially allowing one data entry to overwrite another entry's memory.

## Source excerpt

Weclome to the second part of the series where I discuss bugs that were truly irritating to debug. In general, fixing a bug is usually simple. Finding the bug is where the actual work is involved. As I mentioned before, I currently work as an intern at a company that does development work on a UEFI BIOS. BIOS development is difficult because we are often so close to the hardware that we often do not have the convenience of things like a debugger.