lists.lysator.liu.se
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
List overview
Download
Pike-automation
----- 2024 -----
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
pike-automation@lists.lysator.liu.se
48 discussions
Start a n
N
ew thread
New Defects reported by Coverity Scan for Pike-experiment
by scan-admin@coverity.com
06 Apr '16
06 Apr '16
Hi, Please find the latest report on new defect(s) introduced to Pike-experiment found with Coverity Scan. 7 new defect(s) introduced to Pike-experiment found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 7 of 7 defect(s) ** CID 742750: (USE_AFTER_FREE) /home/covscan/pike/pike-git/src/mapping.c: 1060 in mapping_get_item_ptr() /home/covscan/pike/pike-git/src/mapping.c: 1080 in mapping_get_item_ptr() ________________________________________________________________________________________________________ *** CID 742750: (USE_AFTER_FREE) /home/covscan/pike/pike-git/src/mapping.c: 1060 in mapping_get_item_ptr() 1054 if(d_flag) 1055 check_mapping(m); 1056 #endif 1057 free_mapping_data(md); 1058 if(TYPEOF(k->val) == t) 1059 { >>> CID 742750: (USE_AFTER_FREE) >>> Dereferencing freed pointer "md". 1060 PREPARE_FOR_DATA_CHANGE2(); 1061 PROPAGATE(); /* prepare then propagate */ 1062 1063 return & ( k->val.u ); 1064 } 1065 /home/covscan/pike/pike-git/src/mapping.c: 1080 in mapping_get_item_ptr() 1074 #endif 1075 free_mapping_data(md); 1076 1077 if(t != T_INT) return 0; 1078 1079 /* no need to call PREPARE_* because we re-hash instead */ >>> CID 742750: (USE_AFTER_FREE) >>> Dereferencing freed pointer "md". 1080 if( 1081 #ifndef PIKE_MAPPING_KEYPAIR_LOOP 1082 !(md->free_list) || 1083 #else /* PIKE_MAPPING_KEYPAIR_LOOP */ 1084 (md->size >= md->num_keypairs) || 1085 #endif /* !PIKE_MAPPING_KEYPAIR_LOOP */ ** CID 742749: Memory - illegal accesses (USE_AFTER_FREE) /home/covscan/pike/pike-git/src/mapping.c: 1167 in map_delete_no_free() ________________________________________________________________________________________________________ *** CID 742749: Memory - illegal accesses (USE_AFTER_FREE) /home/covscan/pike/pike-git/src/mapping.c: 1167 in map_delete_no_free() 1161 if(m->data != md) 1162 Pike_fatal("Wrong dataset in mapping_delete!\n"); 1163 if(d_flag>1) check_mapping(m); 1164 debug_malloc_touch(m); 1165 #endif 1166 free_mapping_data(md); >>> CID 742749: Memory - illegal accesses (USE_AFTER_FREE) >>> Dereferencing freed pointer "md". 1167 PREPARE_FOR_INDEX_CHANGE2(); 1168 /* No need to propagate */ 1169 *prev=k->next; 1170 free_svalue(& k->ind); 1171 if(to) 1172 move_svalue (to, &k->val); ** CID 742748: Memory - illegal accesses (USE_AFTER_FREE) /home/covscan/pike/pike-git/src/mapping.c: 1294 in low_mapping_lookup() ________________________________________________________________________________________________________ *** CID 742748: Memory - illegal accesses (USE_AFTER_FREE) /home/covscan/pike/pike-git/src/mapping.c: 1294 in low_mapping_lookup() 1288 #ifdef PIKE_DEBUG 1289 if(d_flag > 1) check_mapping_type_fields(m); 1290 #endif 1291 FIND(); 1292 if(k) 1293 { >>> CID 742748: Memory - illegal accesses (USE_AFTER_FREE) >>> Dereferencing freed pointer "md". 1294 PROPAGATE(); 1295 return &k->val; 1296 } 1297 return 0; 1298 } 1299 ** CID 742747: (USE_AFTER_FREE) /home/covscan/pike/pike-git/src/mapping.c: 935 in low_mapping_insert() /home/covscan/pike/pike-git/src/mapping.c: 956 in low_mapping_insert() ________________________________________________________________________________________________________ *** CID 742747: (USE_AFTER_FREE) /home/covscan/pike/pike-git/src/mapping.c: 935 in low_mapping_insert() 929 if(m->data != md) 930 Pike_fatal("Wrong dataset in mapping_insert!\n"); 931 if(d_flag>1) check_mapping(m); 932 #endif 933 free_mapping_data(md); 934 if(!overwrite) return; >>> CID 742747: (USE_AFTER_FREE) >>> Dereferencing freed pointer "md". 935 PREPARE_FOR_DATA_CHANGE2(); 936 PROPAGATE(); /* propagate after preparing */ 937 md->val_types |= 1 << TYPEOF(*val); 938 if (overwrite == 2 && TYPEOF(*key) == T_OBJECT) 939 /* Should replace the index too. It's only for objects that it's 940 * possible to tell the difference. */ /home/covscan/pike/pike-git/src/mapping.c: 956 in low_mapping_insert() 950 if(m->data != md) 951 Pike_fatal("Wrong dataset in mapping_insert!\n"); 952 if(d_flag>1) check_mapping(m); 953 #endif 954 free_mapping_data(md); 955 /* We do a re-hash here instead of copying the mapping. */ >>> CID 742747: (USE_AFTER_FREE) >>> Dereferencing freed pointer "md". 956 if( 957 #ifndef PIKE_MAPPING_KEYPAIR_LOOP 958 (!md->free_list) || 959 #else /* PIKE_MAPPING_KEYPAIR_LOOP */ 960 (md->size >= md->num_keypairs) || 961 #endif /* !PIKE_MAPPING_KEYPAIR_LOOP */ ** CID 742665: Concurrent data access violations (MISSING_LOCK) /home/covscan/pike/pike-git/src/modules/HTTPLoop/accept_and_parse.c: 467 in low_accept_loop() ________________________________________________________________________________________________________ *** CID 742665: Concurrent data access violations (MISSING_LOCK) /home/covscan/pike/pike-git/src/modules/HTTPLoop/accept_and_parse.c: 467 in low_accept_loop() 461 } 462 } 463 while(arg->log->log_head) 464 { 465 struct log_entry *l = arg->log->log_head->next; 466 free(arg->log->log_head); >>> CID 742665: Concurrent data access violations (MISSING_LOCK) >>> Accessing "arg->log->log_head" without holding lock "log.log_lock". Elsewhere, "log.log_head" is accessed with "log.log_lock" held 4 out of 5 times. 467 arg->log->log_head = l; 468 } 469 470 c = first_cache; 471 while(c && c != arg->cache) {p=c;c = c->next;} 472 if(c) ** CID 742539: Null pointer dereferences (FORWARD_NULL) /home/covscan/pike/pike-git/src/object.c: 176 in low_clone() ________________________________________________________________________________________________________ *** CID 742539: Null pointer dereferences (FORWARD_NULL) /home/covscan/pike/pike-git/src/object.c: 176 in low_clone() 170 #endif 171 172 add_ref( o->prog=p ); 173 174 if(p->flags & PROGRAM_USES_PARENT) 175 { >>> CID 742539: Null pointer dereferences (FORWARD_NULL) >>> Dereferencing null pointer "o->storage". 176 LOW_PARENT_INFO(o,p)->parent=0; 177 LOW_PARENT_INFO(o,p)->parent_identifier=0; 178 } 179 180 DOUBLELINK(first_object,o); 181 ** CID 20290: Control flow issues (MISSING_BREAK) /y.tab.c: 3729 in yytnamerr() ________________________________________________________________________________________________________ *** CID 20290: Control flow issues (MISSING_BREAK) /y.tab.c: 3729 in yytnamerr() 3723 3724 3725 3726 3727 3728 >>> CID 20290: Control flow issues (MISSING_BREAK) >>> The above case falls through to this one. ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/pike-experiment?tab=overview
To manage Coverity Scan email notifications for "pike-automation(a)lists.lysator.liu.se", click
https://scan.coverity.com/subscriptions/edit?email=pike-automation%40lists.…
1
0
0
0
Coverity Scan subscription confirmation
by scan-admin@coverity.com
05 Apr '16
05 Apr '16
1
0
0
0
Coverity Scan subscription confirmation
by scan-admin@coverity.com
05 Apr '16
05 Apr '16
1
0
0
0
test3
by Peter Bortas
13 Mar '16
13 Mar '16
Work damn it? / zino
1
0
0
0
test2
by Peter Bortas
13 Mar '16
13 Mar '16
test2 /zino
1
0
0
0
test1
by Peter Bortas
05 Mar '16
05 Mar '16
Ignore this -- Peter Bortas
1
0
0
0
Coverity Scan subscription confirmation
by scan-admin@coverity.com
05 Mar '16
05 Mar '16
1
0
0
0
Coverity Scan subscription confirmation
by scan-admin@coverity.com
05 Mar '16
05 Mar '16
1
0
0
0
← Newer
1
2
3
4
5
Older →
Jump to page:
1
2
3
4
5
Results per page:
10
25
50
100
200