Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit f71593a9 authored by Tobias Doerffel's avatar Tobias Doerffel Committed by Laurent Montel

[PATCH 13/13] ldif: constify character access to prevent potential detach

Signed-off-by: Laurent Montel's avatarMontel Laurent <>
parent 6375a923
......@@ -330,7 +330,7 @@ Ldif::ParseValue Ldif::nextItem()
while (retval == None) {
if (d->mPos < (uint)d->mLdif.size()) {
c = d->mLdif[d->mPos];
c = d->>mPos);
if (d->mIsNewLine && c == '\r') {
continue; //handle \n\r line end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment