Project

General

Profile

Bug #530

LibPrelude does not build with glibc 2.16

Added by Thomas ANDREJAK about 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Start date:
01/17/2013
Due date:
% Done:

0%

Resolution:
fixed

Description

I have discovered build failure reason - libprelude does not build correctly with glibc 2.16

This is caused by fact, that gets has been declared as a security hole(fgets should be used instead), see http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2012-July/066729.html.

_GL_WARN_ON_USE
File : libmissing/stdio.in.h
Line : 119

gets is no longer used but Prelude. Maybe update this libmissing ?

530_gets.patch View - patch for libmissing/stdio.in.h (804 Bytes) , 04/19/2013 10:44 AM

History

#1 Updated by almost 11 years ago

I've attached a patch that put the unsetting of 'gets' (and the Warning modification) under the same condition than its definition since the ISOC11.
This issue also occurs in libpreludedb, prelude-lml and prelude manager, but the patch should work for them too.

#2 Updated by Jean-Charles ROGEZ over 10 years ago

  • Project changed from PRELUDE SIEM to Libprelude
  • Category deleted (generic)
  • Target version deleted (120)

#3 Updated by Jean-Charles ROGEZ over 10 years ago

  • Target version set to 124

#4 Updated by Antoine LUONG over 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Yoann VANDOORSELAERE
  • Target version changed from 124 to 126
  • Resolution set to fixed

#5 Updated by Thomas ANDREJAK over 8 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 126 to Prelude OSS 1.2.5

Also available in: Atom PDF