Misplaced Pages

Storage violation: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 15:55, 3 April 2010 editR'n'B (talk | contribs)Administrators421,149 editsm Fix links to disambiguation page Kernel← Previous edit Revision as of 00:07, 10 July 2012 edit undoChrisGualtieri (talk | contribs)Autopatrolled, Pending changes reviewers, Rollbackers457,369 editsm Examples of software detecting storage violations: TypoScan Project. You can help at WP:TSN!, typos fixed: , → , using AWBNext edit →
Line 18: Line 18:
===Examples of software detecting storage violations=== ===Examples of software detecting storage violations===
* ] from APT UK, later ] which used an ] * ] from APT UK, later ] which used an ]
* ] originally from Online Software International , later ] * ] originally from Online Software International, later ]


==References== ==References==

Revision as of 00:07, 10 July 2012

A storage violation occurs when a task modifies, or attempts to modify, computer storage that it does not own.

Types of storage violation

Storage violation can, for instance, consist of writing to or freeing storage not owned by the task.

A common type of storage violation is known as a stack buffer overflow where a program attempts to alter a memory location beyond its allocated memory.

Avoidance of storage violations

Storage violations can occur in transaction systems such as CICS in circumstances where it is possible to write to storage not owned by the transaction; such violations can be reduced by enabling features such as storage protection and transaction isolation.

Detection of storage violations

In systems such as CICS, storage violations are sometimes detected (by the CICS kernel) by the use of "signatures", which can be tested to see if they have been overlaid.

Some programming languages use software bounds checking to prevent these occurrences.

Some program debugging software will also detect violations during testing.

Examples of software detecting storage violations

References

IBM. "CICS Transaction Server for z/OS, Version 3 Release 2 Information Center". IBM. Retrieved 2008-10-20.

Stub icon

This computer science article is a stub. You can help Misplaced Pages by expanding it.

Categories: