This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Dead Code: Broken Override

From OWASP
Revision as of 12:05, 26 May 2009 by Deleted user (talk | contribs)

Jump to: navigation, search

domain recettes cuisine asiatique [http://s1.shard.jp/galeach/new83.html asia.com tiger ] [http://s1.shard.jp/frhorton/hwct2dcpc.html articles on poverty in africa ] [http://s1.shard.jp/olharder/automobile-accident.html easy auto loan ] url [http://s1.shard.jp/galeach/new90.html why did the asian tsunami happen ] [http://s1.shard.jp/frhorton/lpujl5mms.html top ten african inventor ] [http://s1.shard.jp/olharder/j-b-auto-salvage.html auto air parts ] [http://s1.shard.jp/galeach/new188.html asian tigers countries ] [http://s1.shard.jp/losaul/aboriginal-names.html australian rock bands ] [http://s1.shard.jp/bireba/sofos-antivirus.html trend micro housecalls antivirus ] antivirus services [http://s1.shard.jp/frhorton/hzioyx6wv.html africa bandwidth question satellite vsat ] [http://s1.shard.jp/olharder/ontario-auto-insurance.html bill mcguire autoweek ] [http://s1.shard.jp/galeach/new49.html asian free picture tattoo ] [http://s1.shard.jp/losaul/idp-australia.html schering ag australia ] [http://s1.shard.jp/olharder/automobile-accident.html military discount auto parts ] [http://s1.shard.jp/olharder/used-automobile.html auto check ] [http://s1.shard.jp/bireba/avg-vs-avast.html norton antivirus live update download ] [http://s1.shard.jp/losaul/compare-flights.html vodafone prepaid deals australia ] [http://s1.shard.jp/galeach/new45.html gay asian site myspace.com ] [http://s1.shard.jp/frhorton/k7b9qt4bf.html african news articles ] [http://s1.shard.jp/losaul/australian-emus.html australia furniture hotel melbourne ] [http://s1.shard.jp/olharder/automotive-training.html autocontrol three.1 ] [http://s1.shard.jp/frhorton/xn61tpox7.html meaning of african names ] [http://s1.shard.jp/galeach/new105.html asiaexpat hongkong ] [http://s1.shard.jp/bireba/antivirus-windows.html clam antivirus clamd failed ] url african in the 1700s [http://s1.shard.jp/galeach/new59.html asian pacific american heritage council ] [http://s1.shard.jp/losaul/australian-topographic.html australian labor party victorian branch ] [http://s1.shard.jp/bireba/northon-antivirus.html softwares antivirus ] [http://s1.shard.jp/olharder/stltodaycom.html auto trader sask ] [http://s1.shard.jp/olharder/johnny-bench.html auto blic hrvatska ] index [http://s1.shard.jp/bireba/top-antivirus.html antivirus trialware download ] [http://s1.shard.jp/galeach/new106.html asian escorts new york ] [http://s1.shard.jp/galeach/new33.html asia girls.com ] [http://s1.shard.jp/galeach/new51.html asian beaver mr.chews ] [http://s1.shard.jp/bireba/panda-online-antivirus.html antivirus stop ] [http://s1.shard.jp/olharder/xp-autoplay-disable.html auto ignition switches ] [http://s1.shard.jp/frhorton/y9ydrxv6i.html african music sheet ] [http://s1.shard.jp/frhorton/te8ykt7rl.html call rates to south africa ] [http://s1.shard.jp/olharder/autoextracom.html jc autobody houston ] [http://s1.shard.jp/losaul/ladies-fashion.html train timetable sydney australia ] [http://s1.shard.jp/frhorton/qfadevngy.html email lists of diamond merchants in south africa ] [http://s1.shard.jp/olharder/discount-import.html semi automatic weapons definition ] http://www.textvarlad.com Template:CandidateForDeletion

#REDIRECT Failure to follow guideline/specification


Last revision (mm/dd/yy): 05/26/2009


Description

This method fails to override a similar method in its superclass because their parameter lists do not match.

This method declaration looks like an attempt to override a method in a superclass, but the parameter lists do not match, so the superclass method is not overridden.


Risk Factors

TBD

Examples

The class DeepFoundation is meant to override the method getArea() in its parent class, but the parameter lists are out of sync.

	public class Foundation
	{
	  public int getArea() {
		...
	  }
	}
	
	class DeepFoundation extends Foundation
	{
	  public int getArea(int a) {
		...
	  }
	}


Related Attacks


Related Vulnerabilities


Related Controls


Related Technical Impacts


References

TBD