Defeating Buffer Overflow: A Trivial but Dangerous Bug

Paul E Black1, Irena Bojanova1

  • 1US National Institute of Standards and Technology.

IT Professional
|June 6, 2017
PubMed

Related Concept Videos

Buffers: Buffer Capacity01:09

Buffers: Buffer Capacity

Buffer capacity is the quantitative measure of a buffer to resist the change in pH. As shown in the following equation, the buffer capacity, denoted by 'beta', is expressed as the number of moles of acid or base needed to change the pH of a one-liter buffer solution by 1 unit. Here, Ca and Cb indicate the number of moles of acid and base, respectively. Note that dpH represents the change in pH.
In the graph, pH is plotted as a function of the number of moles of base (Cb) added to a weak...
2.6K
Buffers: Overview01:30

Buffers: Overview

Buffers play a crucial role in stabilizing the pH of a solution by mitigating the effects of small amounts of added acid or base. They consist of a weak acid and its conjugate base or a weak base and its conjugate acid. A solution of acetic acid and sodium acetate is an example of a buffer that consists of a weak acid and its salt: CH3COOH (aq) + CH3COONa (aq). An example of a buffer that consists of a weak base and its salt is a solution of ammonia and ammonium chloride: NH3 (aq) + NH4Cl (aq).
10.3K
Buffers02:56

Buffers

A solution containing appreciable amounts of a weak conjugate acid-base pair is called a buffer solution, or a buffer. Buffer solutions resist a change in pH when small amounts of a strong acid or a strong base are added. A solution of acetic acid and sodium acetate is an example of a buffer that consists of a weak acid and its salt: CH3COOH (aq) + CH3COONa (aq). An example of a buffer that consists of a weak base and its salt is a solution of ammonia and ammonium chloride: NH3 (aq) + NH4Cl...
174.5K
Buffer Effectiveness02:19

Buffer Effectiveness

Buffer solutions do not have an unlimited capacity to keep the pH relatively constant . Instead, the ability of a buffer solution to resist changes in pH relies on the presence of appreciable amounts of its conjugate weak acid-base pair. When enough strong acid or base is added to substantially lower the concentration of either member of the buffer pair, the buffering action within the solution is compromised.
The buffer capacity is the amount of acid or base that can be added to a given volume...
56.0K
Buffer Systems in the Body01:19

Buffer Systems in the Body

Chemical buffers play a critical role in the body's regulation of pH levels. These systems contain one or more compounds that stabilize pH changes by neutralizing strong acids or bases. When pH levels drop, hydrogen ions bind to a weak base; when pH levels rise, hydrogen ions are released. This dynamic process helps maintain pH within a narrow and stable range essential for normal physiological function.
A typical buffer system in bodily fluids includes a weak acid and its corresponding...
4.3K
Design Example: Analyzing Capacity Contours for Flood Risk Assessment01:17

Design Example: Analyzing Capacity Contours for Flood Risk Assessment

Flood risk assessment involves careful planning and analysis to ensure the safety of communities near water retention structures. Capacity contours are a vital tool in this process, as they illustrate the potential spread of water at specific levels in a given area. In the context of building a bund across a small valley, these contours play a critical role in evaluating the safety of nearby residential areas.In this example, the bund is intended to store stormwater in the valley. The engineers...
342