Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1341: [PATCH] Fix potential null pointer dereference in ccmain/paragraphs.cpp #8

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1341: [PATCH] Fix potential null pointer dereference in ccmain/paragr…
…aphs.cpp
  • Loading branch information
orbitcowboy authored and jimregan committed May 13, 2015
commit c3f88ed11326818ac837a03b0e11a8305bd51b82
4 changes: 2 additions & 2 deletions ccmain/paragraphs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2400,8 +2400,8 @@ void InitializeTextAndBoxesPreRecognition(const MutableIterator &it,
}
word_res = page_res_it.forward();
} while (page_res_it.row() == this_row);
info->lword_box = lword->word->bounding_box();
info->rword_box = rword->word->bounding_box();
if(lword) info->lword_box = lword->word->bounding_box();
if(rword) info->rword_box = rword->word->bounding_box();
}


Expand Down