Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880805 - net-firewall/itval-1.2_p20121104-r1 - /.../chains.cc: error: ordered comparison between pointer and zero (char and int)
Summary: net-firewall/itval-1.2_p20121104-r1 - /.../chains.cc: error: ordered comparis...
Status: RESOLVED DUPLICATE of bug 731158
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-10 20:11 UTC by Toralf Förster
Modified: 2023-01-04 19:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.22 KB, text/plain)
2022-11-10 20:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.43 KB, text/plain)
2022-11-10 20:11 UTC, Toralf Förster
Details
environment (environment,100.69 KB, text/plain)
2022-11-10 20:11 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,695 bytes, application/x-bzip)
2022-11-10 20:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.50 KB, application/x-bzip)
2022-11-10 20:11 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.88 KB, application/x-bzip)
2022-11-10 20:11 UTC, Toralf Förster
Details
net-firewall:itval-1.2_p20121104-r1:20221110-192700.log (net-firewall:itval-1.2_p20121104-r1:20221110-192700.log,12.90 KB, text/plain)
2022-11-10 20:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.41 KB, application/x-bzip)
2022-11-10 20:11 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.72 KB, application/x-bzip)
2022-11-10 20:11 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-11-10 20:11:32 UTC
In file included from /var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/rule_parser.h:33:
/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/topology.h:47:53: warning: 'fscanf' may overflow; destination buffer in argument 3 has size 256, but the corresponding specifier may require size 257 [-Wfortify-source]
             fscanf(iFile, "%256s %3d.%3d.%3d.%3d", name, &ip[0], &ip[1],
                                                    ^
/var/tmp/portage/net-firewall/itval-1.2_p20121104-r1/work/ITVal-20121104/src/chains.cc:129:46: error: ordered comparison between pointer and zero ('char *' and 'int')
   if (line == NULL || strstr(line, "Chain") < 0) {
                       ~~~~~~~~~~~~~~~~~~~~~ ^ ~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221110-130010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby31 *
php cli (if any):

  HEAD of ::gentoo
commit 89fdc572c67f74f1b3e97e7c4506bfb261d9a9a2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 10 19:02:09 2022 +0000

    2022-11-10 19:02:08 UTC

emerge -qpvO net-firewall/itval
[ebuild  N    ] net-firewall/itval-1.2_p20121104-r1
Comment 1 Toralf Förster gentoo-dev 2022-11-10 20:11:33 UTC
Created attachment 830359 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-10 20:11:34 UTC
Created attachment 830361 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-10 20:11:36 UTC
Created attachment 830363 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-10 20:11:36 UTC
Created attachment 830365 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-10 20:11:37 UTC
Created attachment 830367 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-10 20:11:38 UTC
Created attachment 830369 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-10 20:11:39 UTC
Created attachment 830371 [details]
net-firewall:itval-1.2_p20121104-r1:20221110-192700.log
Comment 8 Toralf Förster gentoo-dev 2022-11-10 20:11:40 UTC
Created attachment 830373 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-10 20:11:41 UTC
Created attachment 830375 [details]
var.tmp.clang.tar.bz2
Comment 10 Agostino Sarubbo gentoo-dev 2023-01-04 19:48:19 UTC
usr-merge_tinderbox detected this bug as duplicate of 731158 - If this an error, please let me know

*** This bug has been marked as a duplicate of bug 731158 ***