Re: [sword-devel] Segfault in LZSS code

2021-02-28 Thread Troy A. Griffitts
Yep, and I appreciate the report and the stack trace.  Your example crashes on a strcpy, which fails because there is no terminating null in the random data.  I changed that to a strncpy, to prevent the problem, but the issue still persists because the size I am passing as the 'n' in strncpy is als

Re: [sword-devel] Segfault in LZSS code

2021-02-28 Thread Bastian Germann
Am 28.02.21 um 17:32 schrieb Troy A. Griffitts: The problem would be the same if ZIP was the default and you gave the ZIP compression driver LZSS data files. I tried several combinations of wrong input for the other compression types after finding the bug and it turned out the others error, wh

[sword-devel] Module release: GerBoLut

2021-02-28 Thread domcox
Dear All, This is to announce that we have just now uploaded GerBoLut in the CrossWire (main) repository. ## Language: German ## Description: Deutsch Bolsingerߴs Luther 1545 Bibel (moderne Rechtschreibung) German Bolsinger Luther 1545 bible (modern Spelling) ## Category: Biblical Text ## Versi

[sword-devel] Module release: ASV

2021-02-28 Thread domcox
Dear All, This is to announce that we have just now uploaded ASV in the CrossWire (main) repository. ## Language: English ## Description: American Standard Version (1901) ## Category: Biblical Text ## Version: This is an update. Version: 2.0 ## What's new: New text source, solves MOD-183 Man

[sword-devel] Module release: FreBDM1744

2021-02-28 Thread domcox
Dear All, This is to announce that we have just now uploaded FreBDM1744 in the CrossWire (main) repository. ## Language: French ## Description: Bible David Martin (1744) French Bible D. Martin (1744) ## Category: Biblical Text ## Version: This is an update. Version: 2.0 ## What's new: New sou

Re: [sword-devel] Segfault in LZSS code

2021-02-28 Thread ref...@gmx.net
Hi Troy, I think I caused confusion by saying it is an experimental compression driver but I guess I mixed that up with the other compression forms we have in the engine but do not really support. So, me bad here. PeterSent from my mobile. Please forgive shortness, typos and weird autocorrects.---

Re: [sword-devel] Segfault in LZSS code

2021-02-28 Thread Troy A. Griffitts
Maybe I don't understand. It is the default because it is the first compression type we supported and was the compression type of STEP data files (which previously was an open standard for Bible data; not having anything to do with the STEP Bible Project). The problem would be the same if ZIP w

Re: [sword-devel] Segfault in LZSS code

2021-02-28 Thread David Haslam
Still unanswered is Bastian’s good question “Why is it the default then?” David Sent from ProtonMail Mobile On Sun, Feb 28, 2021 at 03:06, Troy A. Griffitts wrote: > While I agree we probably shouldn't segfault, this is a bit like > renaming xyz.exe to xyz.doc and trying to open it in Word. >