Sun Studio 12 Update 1: Debugging a Program With dbx

Write to Array Out-of-Bounds Memory (wob) Error

Problem: Attempt to write to array out-of-bounds memory.

Possible causes: A stray pointer, overflowing the bounds of a heap block

Example:

char *cp = malloc (10);
cp[10] = 'a';