<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Crash when trying to save a form using an image bigger than length of Binary fix field"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138691">138691</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash when trying to save a form using an image bigger than length of Binary fix field
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.2.0.0.alpha0+ Master
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Base
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>serval2412@yahoo.fr
</td>
</tr></table>
<p>
<div>
<pre>Description:
On pc Debian x86-64 with master sources updated today, I got a crash when
trying to save a form using an image bigger than length of Binary fix field.
Steps to Reproduce:
1. Launch Base
2. Create Firebird embedded file (enable experimental features for
prerequisite) or open an existing Firebird embedded file (no need to enable
experimental features in this case)
3. Create a simple table TABLE1 with:
- id/INTEGER primary key
- f1/Binary (fix) BINARY (put 100 for length)
4. Create a form with TABLE1 with wizard:
4.1 : select the brand new table and use both fields + Next
4.2 : "Decide if you want to set up a subform" => Next
4.3 : "Arrange the controls on your form" => Select the second one from left
of the first row + Finish
=> the form displays and you can enter data
5. type "1" in first field
6. right click on second field => "Insert Image from..." appears, select it
7. select an image of a length > 100
8. close form => dialog box asks to save
9. click "Yes"
Actual Results:
Crash
Expected Results:
No crash
Reproducible: Always
User Profile Reset: No
Additional Info:
With HSQLDB embedded, it's more difficult to reproduce this since by default
length for Binary (fix) BINARY is 2147483647 and you can't change it compared
with Firebird embedded database.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>