Bug #530

LibPrelude does not build with glibc 2.16

Added by Thomas ANDREJAK about 4 years ago. Updated over 1 year ago.

Status:ClosedStart date:01/17/2013
Priority:NormalDue date:
Assignee:Yoann VANDOORSELAERE% Done:


Target version:PRELUDE SIEM - Prelude OSS 1.2.5


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.

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

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

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


#1 Updated by Nourdine AHAMADA almost 4 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 3 years ago

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

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

  • Target version set to 124

#4 Updated by Antoine LUONG over 2 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 1 year ago

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

Also available in: Atom PDF