diff options
author | unknown <tomas@poseidon.mysql.com> | 2007-03-02 08:56:22 +0700 |
---|---|---|
committer | unknown <tomas@poseidon.mysql.com> | 2007-03-02 08:56:22 +0700 |
commit | 1301de42c1ce4504c94d75d485d4b8aef5df57a4 (patch) | |
tree | ebf7a80c1ad9ed4eed3e00e86bb57be9a01970e6 | |
parent | f9bfa7806ea6af3e849673a8b6a70aacc16b6a02 (diff) | |
download | mariadb-git-1301de42c1ce4504c94d75d485d4b8aef5df57a4.tar.gz |
Bug #26720 Infinite loop on unknown signal in logging function
- terminate printing
-rw-r--r-- | ndb/src/common/debugger/signaldata/PackedSignal.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/common/debugger/signaldata/PackedSignal.cpp b/ndb/src/common/debugger/signaldata/PackedSignal.cpp index 54048bcbb35..a5f585c23f0 100644 --- a/ndb/src/common/debugger/signaldata/PackedSignal.cpp +++ b/ndb/src/common/debugger/signaldata/PackedSignal.cpp @@ -96,6 +96,8 @@ printPACKED_SIGNAL(FILE * output, const Uint32 * theData, Uint32 len, Uint16 rec } default: fprintf(output, "Unknown signal type\n"); + i = len; // terminate printing + break; } }//for fprintf(output, "--------- End Packed Signals ----------\n"); |