Changeset 1154


Ignore:
Timestamp:
Feb 18, 2010, 10:03:16 PM (12 years ago)
Author:
Arno Wacker
Message:

KeySearcher_IControl

  • Fixed a null pointer exception when a wrong key pattern is received (jobResult/top10List == null)
  • Still unclear/bug: Why is the list null?? This needs quick fixing!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher_IControl/KeySearcher_IControl.cs

    r1144 r1154  
    116116        void keySearcher_OnBruteforcingEnded(LinkedList<KeySearcher.KeySearcher.ValueKey> top10List)
    117117        {
    118             if (this.JobId != null || top10List != null)
     118            //wacker: you need to test if BOTH conditions apply, hence &&
     119            //if (this.JobId != null || top10List != null)
     120            if (this.JobId != null && top10List != null)
    119121            {
    120122                this.dtEndProcessing = DateTime.Now;
Note: See TracChangeset for help on using the changeset viewer.