Christian Beer
2dbe8c4c53
Lib: initialize fields in constructor
...
fixes CID 28017 found by Coverity
2015-11-05 16:58:40 +01:00
Christian Beer
7be9ff730a
Lib: initialize fields in constructor
...
fixes CID 27975,27996,28026 found by Coverity
2015-11-05 16:46:14 +01:00
Christian Beer
dee784fd15
Lib: initialize fields in constructors
...
fixes CID 27962 found by Coverity
2015-11-05 16:38:26 +01:00
Christian Beer
7bee49aaf7
Lib: check return value of scanf()
...
ignore the scanf() calls inside the loops to not loose performance (untested)
fixes CID 27691 found by Coverity
2015-11-04 18:14:57 +01:00
Christian Beer
b51ef0a021
Lib: check return value of fread() in crypt_prog
...
fixes CID 27709 found by Coverity
2015-11-04 17:55:53 +01:00
Christian Beer
92a4ffb5e6
Lib: check return value of scan_key_hex() in crypt_prog
...
fixes CID 27714 found by Coverity
2015-11-04 17:49:43 +01:00
Christian Beer
a8fea2c56a
Lib: prevent null dereference after fopen() in crypt_prog
...
fixes CID 27899 found by Coverity
2015-11-04 17:45:00 +01:00
Christian Beer
3f3c9fedd6
Lib: check return values of file operations
...
errorcodes are introduced in 27594f0b
fixes CID 27701, 27707 found by Coverity
2015-11-04 17:32:33 +01:00
Christian Beer
27594f0b2f
Lib: introduce new error numbers and add missing descriptions
2015-11-04 17:30:41 +01:00
Christian Beer
447a33f76d
Lib: check return value of fcntl() in boinc_fopen()
...
There is no way to communicate what failed to the caller because they usually don't check the return value in the case of non-zero.
fixes CID 27690 found by Coverity
2015-11-04 16:44:47 +01:00
Christian Beer
3320af26e1
Lib: check return value of select()
...
fixes CID 27700 found by Coverity
2015-11-04 16:34:53 +01:00
Christian Beer
230af4a5df
Lib: initialize fields in constructor
...
fixes CID 27953 found by Coverity
2015-11-04 16:21:28 +01:00
Christian Beer
e90eabf5e5
Lib: initialize fields in constructors
...
fixes CID 27960, 28023 found by Coverity
2015-11-04 16:05:16 +01:00
Christian Beer
f49f0391ab
Lib: initialize fields in constructors
...
fixes CID 27940,27947,27951 found by Coverity
2015-11-04 15:42:47 +01:00
Christian Beer
0d374a3e72
Lib: prevent resource leak
...
If a notice with seqno == -1 is parsed the object was not deleted.
fixes CID 27845 found by Coverity
2015-11-04 15:29:45 +01:00
Christian Beer
cbc83712dc
Lib: initialize buffer before usage
...
fixes CID 27956 found by Coverity
2015-11-04 15:16:48 +01:00
Christian Beer
4654bdc234
Lib: check return value
...
This does not break compatibility because the current caller CLIENT_STATE::write_state_file() is opening the file again for each retry if MFILE::close() fails.
fixes CID 34502 found by Coverity
2015-11-04 14:44:45 +01:00
Christian Beer
317460e4f8
Lib: initialize field in constructor
...
fixes CID 27976 found by Coverity
2015-11-04 13:21:37 +01:00
Christian Beer
482a2a5689
Lib: initialize fields in constructor
...
fixes CID 27985 found by Coverity
2015-11-04 13:16:33 +01:00
Christian Beer
32142fa32c
Lib: initialize field in constructor
...
fixes CID 27945 found by Coverity
2015-11-04 12:24:44 +01:00
Christian Beer
8219c10ad4
Lib: check return value of getsockopt()
...
fixes CID 27722 found by Coverity
2015-11-04 12:16:49 +01:00
Christian Beer
4effc53bde
Lib: check return value of fcntl()
...
fixes CID 27704 found by Coverity
2015-11-04 12:02:43 +01:00
Christian Beer
4c659dd00f
Lib: check return value of getsockname()
...
fixes CID 27697 found by Coverity
2015-11-04 11:52:11 +01:00
Christian Beer
a36852a5a0
Lib: initialize field in constructor
...
fixes CID 28032 found bv Coverity
2015-11-04 10:22:49 +01:00
Christian Beer
c07eb04622
Lib: prevent buffer overflow
...
fixes CID 27755 found by Coverity
2015-11-04 10:14:23 +01:00
Christian Beer
655e0a575e
Lib: initialize fields in constructor
...
fixes CID 28000 found by Coverity
2015-11-04 10:12:29 +01:00
Christian Beer
f6b4e0e2e9
Lib: prevent dereference of null value
...
fixes CID 34508 found by Coverity
2015-11-04 10:11:07 +01:00
Christian Beer
8e8941c1bf
Lib: prevent resource leak
...
fixes CID 27906 found by Coverity
2015-11-04 10:09:35 +01:00
Christian Beer
fa3f4c77ba
Lib: initialize fields in constructor
...
fixes CID 27971, 28011 found by Coverity
2015-11-04 09:44:44 +01:00
Christian Beer
9fff30a9b5
Lib: initialize fields in constructor
...
fixes CID 28014 found by Coverity
2015-11-04 08:35:49 +01:00
Rytis Slatkevièius
f33c4ed1d6
Sched: use X-Forwarded-For as the client's IP address in case it is set (if the scheduler is behind a load balancer, environment's remote_addr will contain load balancer's IP).
2015-11-03 10:15:07 +02:00
Rytis Slatkevièius
1a023a5a63
Fix comment (text description function location)
2015-11-02 13:28:14 +02:00
Charlie Fenton
a5ab520d18
MGR: Fix bugs in commits 289005d
and e1eb20f
(set check mark on Snooze GPU menu item and disable it when CPU is snoozed.) The earlier commits also set the check mark when CPU was set to Suspend indefinitely. This new commit also disables the Snooze GPU menu item in some additional cases when appropriate.
2015-11-02 01:42:26 -08:00
David Anderson
e1eb20f517
Merge pull request #1425 from AenBleidd/Issue1423
...
Fix issue #1423
2015-11-01 18:02:08 -08:00
Vitalii Koshura
289005d7fc
Fix issue #1423
2015-11-01 17:14:07 +02:00
Christian Beer
6cf316daf5
Merge pull request #1401 from BOINC/assimilator_enhancements
...
Daemons: enhance assimilator framework
2015-10-30 14:34:43 +01:00
Christian Beer
d536505f7e
Assimilator: remove --noinsert option
...
please implement this in the project specific part if needed
2015-10-30 14:20:21 +01:00
Tristan Olive
0529186c94
Drupal: Don't count special hidden container as being imported during forum import
...
(DBOINC-145)
2015-10-29 10:51:02 -04:00
Tristan Olive
68d4f0952d
Drupal: Log case in user preference import when ignored user is not found
...
(DBOINC-145)
2015-10-29 10:28:37 -04:00
Rom Walton
657198c034
Merge pull request #1422 from AenBleidd/Issue1419
...
Fix issue #1419 : Windows boinc pause tray icon disappears when context menu is opened
2015-10-29 09:02:28 -04:00
Christian Beer
7fbb11e557
Merge pull request #1415 from BOINC/fuh_logging
...
file upload handler: add logging and error checking
2015-10-29 11:50:41 +01:00
Oliver Bock
116fa7a4b7
Added missing include
2015-10-29 10:11:48 +01:00
Christian Beer
d160c7fab5
Assimilator: cosmetic changes to usage output
2015-10-29 09:18:18 +01:00
Rom Walton
ee7e0dbe20
WCG: Update project files so they branch to WCG specific code and resources.
2015-10-28 16:30:07 -04:00
Rom Walton
91147106f6
client: Fix build break on Windows
2015-10-28 13:58:42 -04:00
David Anderson
fbe6a4fd79
BOINC web: make the "Download BOINC + Virtualbox" button more prominent
2015-10-28 10:35:47 -07:00
Vitalii Koshura
47b888ea69
Fix issue #1419
2015-10-28 02:17:12 +02:00
Rom Walton
cdd855b326
WCG: Add updated project files
2015-10-27 12:28:27 -04:00
Rom Walton
bfb0ab4984
WCG: Remove obsolete project files
2015-10-27 11:42:02 -04:00
Rom Walton
96e520e685
PTP: Remove obsolete project files
2015-10-27 11:41:01 -04:00