Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 55d83bf7c10c7b205fffa23fa7c3977491e56c07 authored by Dr. Stephen Henson on 19 August 2016, 22:28:29 UTC, committed by Matt Caswell on 24 August 2016, 13:12:51 UTC
Avoid overflow in MDC2_Update()
Thanks to Shi Lei for reporting this issue.

CVE-2016-6303

Reviewed-by: Matt Caswell <matt@openssl.org>
1 parent ef28891
  • Files
  • Changes
  • 1829db8
  • /
  • Configurations
  • /
  • INTERNALS.Configure
Raw File
Cook and download a directory from the Software Heritage Vault

You have requested the cooking of the directory with identifier None into a standard tar.gz archive.

Are you sure you want to continue ?

Download a directory from the Software Heritage Vault

You have requested the download of the directory with identifier None as a standard tar.gz archive.

Are you sure you want to continue ?

Cook and download a revision from the Software Heritage Vault

You have requested the cooking of the history heading to revision with identifier swh:1:rev:55d83bf7c10c7b205fffa23fa7c3977491e56c07 into a bare git archive.

Are you sure you want to continue ?

Download a revision from the Software Heritage Vault

You have requested the download of the history heading to revision with identifier swh:1:rev:55d83bf7c10c7b205fffa23fa7c3977491e56c07 as a bare git archive.

Are you sure you want to continue ?

Invalid Email !

The provided email is not well-formed.

Download link has expired

The requested archive is no longer available for download from the Software Heritage Vault.

Do you want to cook it again ?

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • content
revision badge
swh:1:rev:55d83bf7c10c7b205fffa23fa7c3977491e56c07
content badge Iframe embedding
swh:1:cnt:b28305deca4c5af1194027bc13107f5504914ad7
INTERNALS.Configure
Configure Internals
===================

[ note: this file uses markdown for formatting ]

Intro
-----

This is a collection of notes that are hopefully of interest to those
who decide to dive into Configure and what it does.  This is a living
document and anyone is encouraged to add to it and submit changes.
There's no claim for this document to be complete at any time, but it
will hopefully reach such a point in time.


----------------------------------------------------------------------

Parsing build.info files, processing conditions
-----------------------------------------------

Processing conditions in build.info files is done with the help of a
condition stack that tell if a build.info should be processed or if it
should just be skipped over.  The possible states of the stack top are
expressed in the following comment from Configure:

    # The top item of this stack has the following values
    # -2 positive already run and we found ELSE (following ELSIF should fail)
    # -1 positive already run (skip until ENDIF)
    # 0 negatives so far (if we're at a condition, check it)
    # 1 last was positive (don't skip lines until next ELSE, ELSIF or ENDIF)
    # 2 positive ELSE (following ELSIF should fail)

Ground rule is that non-condition lines are skipped over if the
stack top is > 0.  Condition lines (IF, ELSIF, ELSE and ENDIF
statements) need to be processed either way to keep track of the skip
stack states, so they are a little more intricate.

Instead of trying to describe in words, here are some example of what
the skip stack should look like after each line is processed:

Example 1:

| IF[1]                     |  1        |                               |
|   ... whatever ...        |           | this line is processed        |
|   IF[1]                   |  1  1     |                               |
|     ... whatever ...      |           | this line is processed        |
|   ELSIF[1]                |  1 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSE                    |  1 -2     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ENDIF                   |  1        |                               |
|   ... whatever ...        |           | this line is processed        |
| ELSIF[1]                  | -1        |                               |
|   ... whatever ...        |           | this line is skipped over     |
|   IF[1]                   | -1 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSIF[1]                | -1 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSE                    | -1 -2     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ENDIF                   | -1        |                               |
|   ... whatever ...        |           | this line is skipped over     |
| ENDIF                     |           |                               |

Example 2:

| IF[0]                     |  0        |                               |
|   ... whatever ...        |           | this line is skipped over     |
|   IF[1]                   |  0 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSIF[1]                |  0 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSE                    |  0 -2     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ENDIF                   |  0        |                               |
|   ... whatever ...        |           | this line is skipped over     |
| ELSIF[1]                  |  1        |                               |
|   ... whatever ...        |           | this line is processed        |
|   IF[1]                   |  1  1     |                               |
|     ... whatever ...      |           | this line is processed        |
|   ELSIF[1]                |  1 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSE                    |  1 -2     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ENDIF                   |  1        |                               |
|   ... whatever ...        |           | this line is processed        |
| ENDIF                     |           |                               |

Example 3:

| IF[0]                     |  0        |                               |
|   ... whatever ...        |           | this line is skipped over     |
|   IF[0]                   |  0 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSIF[1]                |  0 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSE                    |  0 -2     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ENDIF                   |  0        |                               |
|   ... whatever ...        |           | this line is skipped over     |
| ELSIF[1]                  |  1        |                               |
|   ... whatever ...        |           | this line is processed        |
|   IF[0]                   |  1  0     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSIF[1]                |  1  1     |                               |
|     ... whatever ...      |           | this line is processed        |
|   ELSE                    |  1 -2     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ENDIF                   |  1        |                               |
|   ... whatever ...        |           | this line is processed        |
| ENDIF                     |           |                               |

Example 4:

| IF[0]                     |  0        |                               |
|   ... whatever ...        |           | this line is skipped over     |
|   IF[0]                   |  0 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSIF[0]                |  0 -1     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSE                    |  0 -2     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ENDIF                   |  0        |                               |
|   ... whatever ...        |           | this line is skipped over     |
| ELSIF[1]                  |  1        |                               |
|   ... whatever ...        |           | this line is processed        |
|   IF[0]                   |  1  0     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSIF[0]                |  1  0     |                               |
|     ... whatever ...      |           | this line is skipped over     |
|   ELSE                    |  1  2     |                               |
|     ... whatever ...      |           | this line is processed        |
|   ENDIF                   |  1        |                               |
|   ... whatever ...        |           | this line is processed        |
| ENDIF                     |           |                               |

The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top