initial_args warning

Provide for WIN32 and non-WIN32 condition for initial_args malloc (compiler warning)
and remove redundant static.
initial_args warning

Remove #ifdef WIN32 "static const char *" appears to be ok for all platforms.
Merge pull request #214 from sterlingpickens/patch-1

initial_args warning
Fixed found blocks calculation.
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!
Stratum: extract_sockaddr: Truncate overlong addresses rather than stack overflow

Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
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
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.
Merge branch 'dejavusec-backport'

Cherry-picked from v5_0.

Fixes for a few security vulnerabilities reported by Mick Ayzenberg of DejaVu Security.
misc: ChangeLog typo.

Testing IRC commit bot.
tools: update_changelog.sh and entire ChangeLog.
Bump version to 4.2.2.
Merge branch 'master' into v5_0

Conflicts (resolved):
	NEWS.md
	sgminer.c
	util.c
tools: typo in update_changelog.sh.