Commit 83fae00b authored by jan.koester's avatar jan.koester
Browse files

check size greater or equal

parent e8c26f19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@ DELETEBLOCK:
        } else {
            int curlen = ((int)(*firstdata)->getDataLength() - size);

            if ( curlen <= 0) {
            if ( curlen <= 0 || size >= curlen) {
                temp -= curlen;
                goto DELETEBLOCK;
            }