discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Fwd: New Defects reported by Coverity Scan for GNURad


From: Philip Balister
Subject: [Discuss-gnuradio] Fwd: New Defects reported by Coverity Scan for GNURadio
Date: Mon, 22 Sep 2014 07:09:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0

Fix em fast! (Or figure out they are false alarms).

Philip


-------- Forwarded Message --------
Subject: New Defects reported by Coverity Scan for GNURadio
Date: Mon, 22 Sep 2014 00:01:27 -0700
From: address@hidden


Hi,


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

Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1240027:  Using invalid iterator  (INVALIDATE_ITERATOR)
/var/lib/jenkins/jobs/GNURadio-master/workspace/gnuradio/gnuradio-runtime/lib/buffer.cc:
257 in gr::buffer::prune_tags(unsigned long)()


________________________________________________________________________________________________________
*** CID 1240027:  Using invalid iterator  (INVALIDATE_ITERATOR)
/var/lib/jenkins/jobs/GNURadio-master/workspace/gnuradio/gnuradio-runtime/lib/buffer.cc:
257 in gr::buffer::prune_tags(unsigned long)()
251            buffer's mutex al la the scoped_lock line below.
252         */
253         std::multimap<uint64_t, tag_t>::iterator end_itr =
d_item_tags.lower_bound(max_time);
254         std::multimap<uint64_t, tag_t>::iterator begin_itr =
d_item_tags.begin();
255         while (begin_itr != end_itr) {
256           d_item_tags.erase(begin_itr);
>>>     CID 1240027:  Using invalid iterator  (INVALIDATE_ITERATOR)
>>>     Using invalid iterator "begin_itr".
257           begin_itr++;
258         }
259       }
260
261       long
262       buffer_ncurrently_allocated()


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
http://scan.coverity.com/projects/588?tab=overview

To unsubscribe from the email notification for new defects,
http://scan5.coverity.com/cgi-bin/unsubscribe.py








reply via email to

[Prev in Thread] Current Thread [Next in Thread]