Commit Graph
29 Commits
Author SHA1 Message Date
David Crosby aaa4ef6a72 Mitigate issue #16 found by @kcwu 2015-09-06 21:17:36 +09:00
David Crosby 85fe990642 Fix stack overflow found by @kcwu 2015-09-06 20:58:20 +09:00
David Crosby 66036b0db6 Check for presence of prevl before using 2015-08-11 21:59:28 +09:00
David Crosby dac68e4d90 Adjust UFclose to remove false positive of CWE-481 2015-08-11 21:59:28 +09:00
David Crosby 14798c25c4 Move sockent for splint 2015-08-11 21:59:28 +09:00
David Crosby adcc02592c Use unsigned int for max_count 2015-08-11 21:59:27 +09:00
David Crosby a58671905e Add missing comparision that made if always true 2015-08-11 21:59:27 +09:00
David Crosby c162b75317 Use fgetc in while loops, use int instead of char 2015-08-11 21:59:27 +09:00
David Crosby 6eb7866442 Adjust len to size_t 2015-08-11 21:59:27 +09:00
David Crosby 426e8b3799 Check return value of rename 2015-08-11 21:59:27 +09:00
David Crosby fc5b50353e Adjust while loop 2015-08-11 21:59:27 +09:00
David Crosby b1bf058d2a Check dup call for errors 2015-08-11 21:59:27 +09:00
David Crosby dd9d2a9752 Remove unused value 2015-08-11 21:59:27 +09:00
David Crosby 73550486ff dup can give a negative value 2015-08-11 21:59:27 +09:00
David Crosby a00c90930b use int for c 2015-08-11 21:59:27 +09:00
David Crosby 6fe9e524af Initialize new_tabwidth at declaration 2015-08-11 21:59:27 +09:00
David Crosby d8883d384e Remove overflow on readlink 2015-08-11 21:59:27 +09:00
David Crosby 7e5b33c30e Remove dead assignments flagged by Clang static analysis 2015-08-11 21:59:27 +09:00
David Crosby 2d9d2494fc Move fclose to fix dereference after null check (Coverity) 2015-08-11 21:59:27 +09:00
David Crosby 8c9b27b954 Fix resource leak in AuthDigestCred 2015-08-11 21:59:27 +09:00
David Crosby 2582ffa397 Fix resource leak in readBufferCache 2015-08-11 21:59:27 +09:00
David Crosby 80b38e6bc3 Fix resource leak in load_cookies 2015-08-11 21:59:27 +09:00
David Crosby 4086117d9c Fix resource leak 2015-08-11 21:59:27 +09:00
David Crosby 7187784234 Fix resource leak 2015-08-11 21:59:27 +09:00
David Crosby 3120f496f7 Fix resource leak and a null return value dereference 2015-08-11 21:59:27 +09:00
David Crosby dba9fe9753 Fix a divide-by-zero 2015-08-11 21:59:27 +09:00
David Crosby 9cbcd21d8d Change total_dot_number to unsigned int 2015-08-11 21:59:26 +09:00
David Crosby 3746ab24c7 Free tmp 2015-08-11 21:59:26 +09:00
David Crosby 192e2bf241 Remove unreachable return 2015-08-11 21:59:26 +09:00