nochowderforyou / clams

Clam Project
MIT License
62 stars 58 forks source link

RPC 'importwallet' can crash if you don't specify a password #142

Closed dooglus closed 9 years ago

dooglus commented 9 years ago

The code does:

strWalletPass = params[1].get_str().c_str();

without checking whether params[] has at least 2 elements.

dooglus commented 9 years ago

Fixed in #145.