[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2022-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 BogdanB changed: What|Removed |Added Blocks||133092 CC|

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2022-02-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #16 from Mike Kaganski --- (In reply to Robert Großkopf from comment #15) Ok, so this means: 1. You shouldn't implement comment 12, since there may be a different workflow compared to what you prefer. 2. The control could be

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2022-02-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #15 from Robert Großkopf --- (In reply to Mike Kaganski from comment #14) > (In reply to Robert Großkopf from comment #13) > > I'm afraid I don't quite understand you. There are form events, including > "Before Submitting"; d

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2022-02-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #14 from Mike Kaganski --- (In reply to Robert Großkopf from comment #13) I'm afraid I don't quite understand you. There are form events, including "Before Submitting"; do you say I can't replace whatever value I want with so

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2022-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #13 from Robert Großkopf --- (In reply to Mike Kaganski from comment #12) > (In reply to Robert Großkopf from comment #10) > > (In reply to Julien Nabet from comment #9) > > > perhaps we should check image size just after havi

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2022-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #12 from Mike Kaganski --- (In reply to Robert Großkopf from comment #10) > (In reply to Julien Nabet from comment #9) > > perhaps we should check image size just after having selected it? > > It's in OImageControlControl::imp

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2022-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #11 from Commit Notification --- Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/94ba3770ffe31bd26e0c67a5609c8935994b808a tdf#138691: avoid buff

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2022-02-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 Commit Notification changed: What|Removed |Added Whiteboard||target:7.4.0 -- You are r

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2021-11-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #10 from Robert Großkopf --- (In reply to Julien Nabet from comment #9) > Just thinking loudly, perhaps we should check image size just after having > selected it? > It's in OImageControlControl::implInsertGraphics (see > http

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2021-11-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #9 from Julien Nabet --- Just thinking loudly, perhaps we should check image size just after having selected it? It's in OImageControlControl::implInsertGraphics (see https://opengrok.libreoffice.org/xref/core/forms/source/com

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2020-12-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 Xisco Faulí changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2020-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #7 from Julien Nabet --- Since we must deal with update + insert case, I think connectivity/source/commontools/dbtools.cxx should be used. Now the problem is how to retrieve precision (aka max length) of a column... I tested

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2020-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #6 from Julien Nabet --- I kept on the tests and I finally could reproduce the empty sequence too: Here are the steps: - create a table following steps for initial description but with length 1 (instead of 100) - create a

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2020-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #5 from Julien Nabet --- Created attachment 167865 --> https://bugs.documentfoundation.org/attachment.cgi?id=167865&action=edit gdb bt Argh, it still crashes but now it's not an empty sequence. Still, since the image size I

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2020-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #4 from Lionel Elie Mamane --- (In reply to Julien Nabet from comment #2) > after x >>= aBytes, aBytes is just a sequence of 0 because we get over max > size. > So setBytes is called with a 0 size sequence and it crashes. I

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2020-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #3 from Julien Nabet --- Sorry Robert, you won't be able to test this (at least with Firebird) for the moment, https://gerrit.libreoffice.org/c/core/+/107280 is a prerequisite. -- You are receiving this mail because: You ar

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2020-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 Julien Nabet changed: What|Removed |Added CC||lio...@mamane.lu,

[Libreoffice-bugs] [Bug 138691] Crash when trying to save a form using an image bigger than length of Binary fix field

2020-12-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138691 --- Comment #1 from Julien Nabet --- Created attachment 167864 --> https://bugs.documentfoundation.org/attachment.cgi?id=167864&action=edit bt with debug symbols -- You are receiving this mail because: You are the assignee for the bug