Mailinglist Archive: opensuse-packaging (83 mails)

< Previous Next >
[opensuse-packaging] build failures due to 02-check-gcc-output
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Tue, 7 Oct 2008 17:10:35 +0200
  • Message-id: <200810071710.36261.ludwig.nussel@xxxxxxx>
Hi,

Recently we discovered that the 02-check-gcc-output post build script didn't
complain about some kind of static buffer overflows anymore(?). For better or
for worse the affected code will be aborted by glibc at runtime therefore hits
you at unexpected time. So the build check was fixed and indeed causes failures
in a few packages. Please fix them, the program will not work.

The problem fortunately is easy to spot and fix. Affected code looks like this:

char buf[128];
fgets(buf, 256, file);

The fix is to just pass the correct size to the function call.

Sorry for the inconvenience.

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)





--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages