[InterNetNews/inn] e76d74: Remove alloca from nnrpd

Julien ÉLIE noreply at github.com
Sun Oct 31 10:23:16 UTC 2021


  Branch: refs/heads/2.6
  Home:   https://github.com/InterNetNews/inn
  Commit: e76d74b83ebb79fb25c051bfafc926350e96e4c1
      https://github.com/InterNetNews/inn/commit/e76d74b83ebb79fb25c051bfafc926350e96e4c1
  Author: Julien ÉLIE <Julien-Elie at users.noreply.github.com>
  Date:   2021-10-31 (Sun, 31 Oct 2021)

  Changed paths:
    M TODO
    M nnrpd/Makefile
    M nnrpd/nnrpd.c

  Log Message:
  -----------
  Remove alloca from nnrpd

alloca was added in 2004 in the TLS code, but removed in 2008 to use
realloc() because of segmentation faults.
This commit really removes its use from nnrpd in the 2.6 branch.

The whole alloca machinery will be removed in the 2.7 branch from all
source code (commit 5f506335d948ea400cb64ea49182209ab4a32a70).




More information about the inn-committers mailing list