NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/42654 (Coverity Scan Issues on ls.c)



The following reply was made to PR bin/42654; it has been noted by GNATS.

From: Dave Huang <khym%azeotrope.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/42654 (Coverity Scan Issues on ls.c)
Date: Sat, 12 Jul 2014 16:36:56 -0500

 This seems to be related to 
 
http://git.rtems.org/rtems/commit/cpukit/libmisc/shell/main_ls.c?id=8bffc40b3a6b62ae993123c5fc16e9e2c5800ad8
 
 AFAICT, it doesn't affect NetBSD... the problem with the RTEMS code is 
 that the previous "if (f_flags)" block that set "flags" (line 552 of 
 NetBSD's ls.c r1.58) was removed via "#if RTEMS_REMOVED", but the block 
 that uses "flags" (line 569 of NetBSD's ls.c) was not similarly #if'ed 
 out. Since NetBSD didn't remove the first block, there's no problem in 
 the second block.
 


Home | Main Index | Thread Index | Old Index