Merge pull request #2389 from philsmd/multibit_22500_fix

fixes possible off-by-one verification problem with -m 22500 = MultiBit Classic
pull/2404/head
Jens Steube 4 years ago committed by GitHub
commit d34381680d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -554,7 +554,7 @@ KERNEL_FQ void m22500_m04 (KERN_ATTR_RULES ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -1149,7 +1149,7 @@ KERNEL_FQ void m22500_s04 (KERN_ATTR_RULES ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

@ -263,7 +263,7 @@ KERNEL_FQ void m22500_mxx (KERN_ATTR_RULES ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -559,7 +559,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_RULES ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

@ -613,7 +613,7 @@ KERNEL_FQ void m22500_m04 (KERN_ATTR_BASIC ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -1268,7 +1268,7 @@ KERNEL_FQ void m22500_s04 (KERN_ATTR_BASIC ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

@ -267,7 +267,7 @@ KERNEL_FQ void m22500_mxx (KERN_ATTR_BASIC ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -569,7 +569,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_BASIC ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

@ -542,7 +542,7 @@ DECLSPEC void m22500 (SHM_TYPE u32a *s_te0, SHM_TYPE u32a *s_te1, SHM_TYPE u32a
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

@ -276,7 +276,7 @@ KERNEL_FQ void m22500_mxx (KERN_ATTR_VECTOR ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:
@ -587,7 +587,7 @@ KERNEL_FQ void m22500_sxx (KERN_ATTR_VECTOR ())
}
else if (first_byte == 0x0a) // \n => bitcoinj
{
if ((out[0] & 0x0000ff00) > 0x00007e00) continue; // second_byte
if ((out[0] & 0x0000ff00) > 0x00007f00) continue; // second_byte
// check for "org." substring:

Loading…
Cancel
Save