Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

In the Halls of Justice the only justice is in the halls. -- Lenny Bruce


dovenet / Synchronet Programming / New Defects reported by Coverity Scan for Synchronet

SubjectAuthor
o New Defects reported by Coverity Scan for Synchronetscan-admin@coverity.com

1
New Defects reported by Coverity Scan for Synchronet

<635d2195a415e_779f72aedca3799b03691b@prd-scan-dashboard-0.mail>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=89&group=DOVE-Net.Synchronet_Programming#89

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: scan-admin@coverity.com@VERT (scan-admin@coverity.com)
To: cov-scan@synchro.net
Subject: New Defects reported by Coverity Scan for Synchronet
Message-ID: <635d2195a415e_779f72aedca3799b03691b@prd-scan-dashboard-0.mail>
Date: Sat, 29 Oct 2022 05:50:30 +0000
X-Comment-To: cov-scan@synchro.net
Path: rocksolidbbs.com!not-for-mail
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux new_user_dat/17aaf99a1 Oct 19 2022 GCC 8.3.0
X-FTN-MSGID: 46078.syncprog@1:103/705 27c30b96
X-FTN-CHRS: CP437 2
WhenImported: 20221029055032-0700 c1e0
WhenExported: 20221029091859-0700 c1e0
ExportedFrom: VERT syncprog 46078
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on cvs.synchro.net
X-Spam-Level:
X-Spam-Status: No, score=-0.1 required=4.0 tests=DKIM_SIGNED,DKIM_VALID,
DKIM_VALID_AU,UNPARSEABLE_RELAY autolearn=unavailable
autolearn_force=no version=3.4.2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coverity.com;
h=from:subject:mime-version:to:content-type:content-transfer-encoding:
cc;
s=sc; bh=33Qzut1e108FkBgwGKYXrbWxPdTU6IJ6H6iV8/nZEfU=;
b=A2DftlD09wH9bkDisA8I5t9pfJOGjFoQtpNP1sAVYWCNfUBCHm/unYG1WvQyWOvAj+ak
VZN/HyPf81hnHqpbgMDZcuK+8p08vyIekuVI2rDqy5uDbnq+BrUjBkZMgkWmm/HZAemTPy
unzchIeHs25iYykO0GiOczqyTULqAfJ3pqdSmpjBiQTyLjElPD2W12Q5SNWVJ89kYSqfxh
QlUiWypjJVdkp0+Y+YlfABPc6fW3DaICq8tnFJDfU0KUEO16KpU2UhzFxUS4Uj2hdmVy7A
l7+4YNEPomEV91Ghgfco6hprR6oACwwB0amjM+cLEmoJNyoXnl03IkXShhzAeR6w==
Mime-Version: 1.0
X-SG-EID:
HBOmY/E5MTYb8Mhr7ulQJIaFxcZEWpCD/7YwgOg+H8s8TVHnlsNSQUslwaiPdL
IaZeOD+jVpGBVgp27qUVPNpsgX9LvpzmMX9WBqq
PYq2EpgWzYHIPIy0bRecy5uXg7RZakB0zQYqdcD
GSFQTuPLCsRQne/SuFJtK4nyMMoMzZ6dtLLZMAR
qhr/+pF+MjvXOh0GFXgtqe/9UEchZPp1p6Q==
X-Entity-ID: S2cgcZKcMUFZg9Mweglhkg==
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
 by: scan-admin@coverity. - Sat, 29 Oct 2022 05:50 UTC

Hi,

Please find the latest report on new defect(s) introduced to Synchronet found with Coverity Scan.

2 new defect(s) introduced to Synchronet found with Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)

** CID 319807: Memory - illegal accesses (UNINIT)
/tmp/sbbs-Oct-29-2022/3rdp/src/mozjs/js-1.8.5/js/src/configure: 9243 in main()

________________________________________________________________________________________________________
*** CID 319807: Memory - illegal accesses (UNINIT)
/tmp/sbbs-Oct-29-2022/3rdp/src/mozjs/js-1.8.5/js/src/configure: 9243 in main()
9237 cat > conftest.$ac_ext <<EOF
9238 #line 9239 "configure"
9239 #include "confdefs.h"
9240 #include <sys/utsname.h>
9241 int main() {
9242 struct utsname *res; char *domain;
>>> CID 319807: Memory - illegal accesses (UNINIT)
>>> Using uninitialized value "res" when calling "uname".
9243 (void)uname(res); if (res != 0) { domain = res->domainname; }
9244 ; return 0; }
9245 EOF
9246 if { (eval echo configure:9247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9247 rm -rf conftest*
9248 ac_cv_have_uname_domainname_field=true

** CID 319786: Null pointer dereferences (REVERSE_INULL)
/tmp/sbbs-Oct-29-2022/3rdp/src/mozjs/js-1.8.5/js/src/configure: 9243 in main()

________________________________________________________________________________________________________
*** CID 319786: Null pointer dereferences (REVERSE_INULL)
/tmp/sbbs-Oct-29-2022/3rdp/src/mozjs/js-1.8.5/js/src/configure: 9243 in main()
9237 cat > conftest.$ac_ext <<EOF
9238 #line 9239 "configure"
9239 #include "confdefs.h"
9240 #include <sys/utsname.h>
9241 int main() {
9242 struct utsname *res; char *domain;
>>> CID 319786: Null pointer dereferences (REVERSE_INULL)
>>> Null-checking "res" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
9243 (void)uname(res); if (res != 0) { domain = res->domainname; }
9244 ; return 0; }
9245 EOF
9246 if { (eval echo configure:9247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9247 rm -rf conftest*
9248 ac_cv_have_uname_domainname_field=true

________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yp-2FP9gGRhvFklLaQKuBylUrkMFB3WMR2p7qIYKYTZrh4BbWTBf-2B-2Fi5ZUVF-2Fo-2B6flxo-3DNVUm_g4j7BHlu96plUOfCQsO0yRjoWZCZl8YGnZ-2FUtT39hrDHjtjPH9dPJ2u17EI8n0sCIvPq9pIyYSROpekoA7Rw48AO65IxFyqHCs3NLwah22hp8sQDJFO-2BCr9fORgAhFjOvF3NUuMxC96sY-2FdSanzqVnj3VGFQLjW4q3lFLSAU12G-2BkgqEc4U-2Fgv52PKdFwYlvzm3EJ-2Bcr7ofA5XFHlIXhkA-3D-3D

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net


dovenet / Synchronet Programming / New Defects reported by Coverity Scan for Synchronet

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor