platinum4
0f9bf18172
Add option --more-notices & shorten stale submit
2014-06-09 02:35:07 +02:00
Jan Berdajs
ff05aacdc3
attempt to fix memory issues when doing curl calls
...
From curl CURLOPT_ERRORBUFFER docs: You must keep the associated storage available until libcurl no longer needs it. Failing to do so will cause very odd behavior or even crashes. libcurl will need it until you call curl_easy_cleanup(3) or you set the same option again to use a different pointer.
2014-06-09 01:17:29 +02:00
Jan Berdajs
ff787bcfbd
add docs about the new hamsi-expand-big setting
2014-06-08 20:42:59 +02:00
Jan Berdajs
e134ab75ad
move algorithm-specific OpenCL compile options into algorithm_t
2014-06-08 20:36:45 +02:00
Jan Berdajs
881355d873
add --hamsi-expand-big option for setting EXPAND_BIG in X13 kernels
2014-06-08 20:36:39 +02:00
Jan Berdajs
5e3142cf68
remove unused code (mostly intended for ASICs which are not supported in sgminer), fix some compiler warnings
2014-06-08 20:36:33 +02:00
Jan Berdajs
cabbd7362f
refactor initCl more
2014-06-08 20:36:25 +02:00
troky
a564c24a4d
MSVS: project cleanup and reorder.
2014-06-08 11:32:43 +02:00
Jan Berdajs
d04c096403
add ocl/ files to MSVC project
2014-06-08 03:26:50 +02:00
Jan Berdajs
e5779e1e26
move algorithms into separate folder
2014-06-08 03:26:42 +02:00
Jan Berdajs
c25a59bab1
refactor building/loading/saving OpenCL kernel
2014-06-08 02:04:31 +02:00
troky
04c0aeed3e
MSVS: Removed Curl includes from sgminer tree as they are provided from Curl source archive.
2014-06-07 12:23:07 +02:00
troky
bc1c620b07
MSVS: Updated libcurl Makefile to v7.37.0
2014-06-07 12:13:45 +02:00
Jan Berdajs
6152638dd7
fix compile without ADL
2014-06-06 13:52:59 +02:00
Jan Berdajs
518d6e9eca
Merge pull request #236 from Blagodarenko/v5_0
...
fix "diff 0.000/0.000"
2014-06-06 12:47:00 +02:00
blagodarenko
1bca4a7921
fix "diff 0.000/0.000"
2014-06-06 14:16:32 +04:00
troky
1bb452e321
Fixed kernel path bug introduced in 8198286597
2014-06-06 09:20:39 +02:00
Jan Berdajs
e3290db1bb
Merge pull request #231 from tupieurods/feature
...
Total uptime drop fix
2014-06-06 02:35:11 +02:00
Anatoly
32824e56a0
Total uptime drop fix
2014-06-06 08:03:30 +08:00
Noel Maersk
5cc43f2f16
misc: ChangeLog typo.
...
Testing IRC commit bot.
2014-06-06 02:50:09 +03:00
Noel Maersk
411a41354e
Merge branch 'dejavusec-backport'
...
Cherry-picked from v5_0.
Fixes for a few security vulnerabilities reported by Mick Ayzenberg of DejaVu Security.
2014-06-06 00:20:41 +03:00
Noel Maersk
ae7dbca783
stratum: parse_notify(): Don't die on malformed bbversion/prev_hash/nbit/ntime.
...
Might have introduced a memory leak, don't have time to check. :(
Should the other hex2bin()'s be checked?
Thanks to Mick Ayzenberg <mick.dejavusecurity.com> for finding this.
2014-06-06 00:20:07 +03:00
Noel Maersk
cab6e28b12
stratum: parse_reconnect(): treat pool-sent URL as untrusted.
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for reminding
that this existed and highlighting the offender.
Also to Luke-jr for actually fixing this in bfgminer. :D
2014-06-06 00:19:59 +03:00
Luke Dashjr
91d29ea972
Stratum: extract_sockaddr: Truncate overlong addresses rather than stack overflow
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
2014-06-06 00:19:51 +03:00
Luke Dashjr
44e770904e
Bugfix: initiate_stratum: Ensure extranonce2 size is not negative (which could lead to exploits later as too little memory gets allocated)
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
2014-06-06 00:19:48 +03:00
troky
1f73ae040e
Merge branch 'v5_0' of https://github.com/sgminer-dev/sgminer into v5_0
2014-06-05 23:12:38 +02:00
troky
8198286597
Fixed MSVS build.
2014-06-05 23:11:29 +02:00
troky
2588394e32
Added null-termination for kernel build log.
2014-06-05 23:07:55 +02:00
Jan Berdajs
00d17d16fe
fix segfault (watchdog thread declares threads sick and tries to restart them while they are already being restarted)
2014-06-05 22:57:20 +02:00
Noel Maersk
a5bec2b999
Merge branch 'dejavusec' into v5_0
...
Fixes for a few security vulnerabilities reported by Mick Ayzenberg
of DejaVu Security.
2014-06-05 23:08:38 +03:00
Noel Maersk
910c360899
stratum: parse_notify(): Don't die on malformed bbversion/prev_hash/nbit/ntime.
...
Might have introduced a memory leak, don't have time to check. :(
Should the other hex2bin()'s be checked?
Thanks to Mick Ayzenberg <mick.dejavusecurity.com> for finding this.
2014-06-05 23:07:47 +03:00
Noel Maersk
4f387321ce
misc: update AUTHORS.md, add CR to sgminer.c, minor style.
2014-06-05 23:07:14 +03:00
Noel Maersk
78cc408369
stratum: parse_reconnect(): treat pool-sent URL as untrusted.
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for reminding
that this existed and highlighting the offender.
Also to Luke-jr for actually fixing this in bfgminer. :D
2014-06-05 23:07:08 +03:00
Luke Dashjr
b65574bef2
Stratum: extract_sockaddr: Truncate overlong addresses rather than stack overflow
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
2014-06-05 21:29:44 +03:00
Luke Dashjr
bac5831b35
Bugfix: initiate_stratum: Ensure extranonce2 size is not negative (which could lead to exploits later as too little memory gets allocated)
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
2014-06-05 21:20:25 +03:00
Jan Berdajs
f0e47ec8ec
make sure reinit_device cannot happen while algo switching, which would probably result in segfault
2014-06-05 18:40:27 +02:00
Jan Berdajs
e58cd00db7
fix bug in thread_reportin (watchdog can detect getwork is false before thr->last is set), and a few cosmetic changes
2014-06-05 18:35:46 +02:00
troky
b8a1c1f660
MSVS compatibility update.
2014-06-05 10:20:43 +02:00
troky
68c54c226c
Partially reverting e4a4efdb42
to keep MSVS compatibility.
2014-06-05 10:19:27 +02:00
Jan Berdajs
e4a4efdb42
fix some potential memory leaks, remove a few old unused functions
2014-06-05 00:13:43 +02:00
Jan Berdajs
87bbca6148
only change gpu engine, memclock, fans, if ADL is enabled
2014-06-05 00:13:34 +02:00
Jan Berdajs
dfaee21023
extract marucoin-modold (for old GPUs like Radeon HD 5xxx, e.g. 5850) as separate kernel and add support for it
2014-06-04 19:24:04 +02:00
Jan Berdajs
064d940ea2
manually merge changes to X11-mod/X13-mod kernels (lazybear)
2014-06-04 19:12:50 +02:00
Anatoly
8c48255802
Code cleanup
...
WATCHDOG_SICK_TIME increase reverted
Hardcode in get_work_blockdiff removed
2014-06-04 18:07:20 +02:00
Anatoly
99db17145f
show-coindiff option added
2014-06-04 18:07:13 +02:00
Anatoly
8f10cbfac5
Total uptime length
...
Conflicts:
sgminer.c
2014-06-04 18:07:12 +02:00
Anatoly
d89e53b3db
Extend time to sick state
2014-06-04 18:07:07 +02:00
Jan Berdajs
ce3624fba6
add marucoin-mod (X13-mod)
2014-06-03 01:36:56 +02:00
Jan Berdajs
2ec09155e6
per-pool gpu-fan
2014-05-30 00:00:36 +02:00
Jan Berdajs
9ec87cfc1a
fixes for MSVC2010 to build
2014-05-29 22:48:25 +02:00