Race-condition-presentation

Race-condition-presentation - RACE CONDITION LuckiiMai...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
RACE  CONDITION Luckii Mai Mohamed Sharaf
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
OVERVIEW Sin 16: Race Conditions Where does it occur? Which languages are affected? Critical vs. non-critical The different types Simple example Vulnerability: TOCTTOU How to spot them Code review Testing techniques Some threats
Background image of page 2
SIN 16: RACE  CONDITIONS “A race condition or race hazard is a flaw in an  electronic system or process whereby the output  and/or result of the process is unexpectedly and  critically dependent on the sequence or timing of  other events. The term originates with the idea of  two signals racing each other to influence the  output first.” [2]
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
WHERE DOES IT  OCCUR? Any electronics systems Logic circuits Computer  software Distributed Multithreaded
Background image of page 4
WHICH LANGUAGES ARE  AFFECTED? Can be created in any language. Languages not supporting threads or forked  processes will not be affected but will be more  susceptible to “time of check to time of use”  (TOCTOU) attacks.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CRITICAL Critical: order of  changed internal  variables determine the  final state of the  machine. Non-critical: order of  changed internal variables  do not determine the final  state of machine. Changing states require 
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 18

Race-condition-presentation - RACE CONDITION LuckiiMai...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online