Bug 13661 - Prevent sabotaging Zebra indexing from the cataloguing module by creating a subfield with a very long word.
Summary: Prevent sabotaging Zebra indexing from the cataloguing module by creating a s...
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on: 13659
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-03 12:06 UTC by Olli-Antti Kivilahti
Modified: 2020-11-30 21:44 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olli-Antti Kivilahti 2015-02-03 12:06:44 UTC
!--------!-!-------!
 ! REPLICATE THE ISSUE !
  !--------!-!-------!
1. Add this to any subfield:
TÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄLTÄÄL
2. Make a full Zebra reindexing.
3. Observe a "*** stack smashing detected ***: /usr/bin/zebraidx terminated"-error, when the faulty Biblio is indexed, and a possibly broken search index.
Comment 1 Katrin Fischer 2015-02-08 12:30:23 UTC
I wonder, shouldn't the max length definition on the subfield configuration page stop you from doing this?
Comment 2 Katrin Fischer 2020-01-06 14:33:16 UTC
I never got an answer from Olli - but I assume that the maxlength setting will prevent entering words longer than 999 (his example is 1008), that probably cause this issue.

Please reopen if more is needed.