Hi,
Please find the latest report on new defect(s) introduced to Pike-stable found with Coverity Scan.
1 new defect(s) introduced to Pike-stable found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1414703: Memory - corruptions (ARRAY_VS_SINGLETON)
/home/covbuilder/pike/Pike-v8.0-snapshot/src/post_modules/SQLite/sqlite.cmod: 135 in bind_arguments()
________________________________________________________________________________________________________
*** CID 1414703: Memory - corruptions (ARRAY_VS_SINGLETON)
/home/covbuilder/pike/Pike-v8.0-snapshot/src/post_modules/SQLite/sqlite.cmod: 135 in bind_arguments()
129
130 case T_MULTISET:
131 if(multiset_sizeof(k->val.u.multiset) == 1) {
132 struct pike_string *s;
133 {
134 struct svalue tmp;
>>> CID 1414703: Memory - corruptions (ARRAY_VS_SINGLETON)
>>> Using "&k->val.u.multiset->msd->nodes->i" as an array. This might corrupt or misinterpret adjacent memory locations.
135 if (TYPEOF(*use_multiset_index (k->val.u.multiset,
136 multiset_first (k->val.u.multiset),
137 tmp)) == T_STRING)
138 s = tmp.u.string;
139 else
140 s = NULL;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V0…
To manage Coverity Scan email notifications for "pike-automation(a)lists.lysator.liu.se", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V0…
Hi,
Please find the latest report on new defect(s) introduced to Pike-master found with Coverity Scan.
1 new defect(s) introduced to Pike-master found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1414685: Memory - illegal accesses (NEGATIVE_RETURNS)
/home/covbuilder/pike/Pike-v8.1-snapshot/src/post_modules/SQLite/sqlite.cmod: 131 in bind_arguments()
________________________________________________________________________________________________________
*** CID 1414685: Memory - illegal accesses (NEGATIVE_RETURNS)
/home/covbuilder/pike/Pike-v8.1-snapshot/src/post_modules/SQLite/sqlite.cmod: 131 in bind_arguments()
125 break;
126 case T_MULTISET:
127 if(multiset_sizeof(k->val.u.multiset) == 1) {
128 struct pike_string *s;
129 {
130 struct svalue tmp;
>>> CID 1414685: Memory - illegal accesses (NEGATIVE_RETURNS)
>>> Using variable "multiset_first(k->val.u.multiset)" as an index to array "k->val.u.multiset->msd->nodes".
131 if (TYPEOF(*use_multiset_index (k->val.u.multiset,
132 multiset_first (k->val.u.multiset),
133 tmp)) == T_STRING)
134 s = tmp.u.string;
135 else
136 s = NULL;
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V0…
To manage Coverity Scan email notifications for "pike-automation(a)lists.lysator.liu.se", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V0…