mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Large accounts are overflowing the data types used in the register
code and are causing crashes. #92072, #98802 git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/1.6@7696 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ce85d07790
commit
4525380ae9
@ -1,3 +1,10 @@
|
||||
2002-12-19 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/register/register-common.h:
|
||||
* src/register/table-allgui.h: Large accounts are overflowing the
|
||||
data types used in the register code and are causing
|
||||
crashes. #92072, #98802
|
||||
|
||||
2002-10-18 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* accounts/fr_FR/*: Some bug fixes by frederic.lespez@wanadoo.fr.
|
||||
|
@ -32,8 +32,8 @@
|
||||
*/
|
||||
typedef struct _VirtualCellLocation VirtualCellLocation;
|
||||
struct _VirtualCellLocation {
|
||||
short virt_row;
|
||||
short virt_col;
|
||||
int virt_row;
|
||||
int virt_col;
|
||||
};
|
||||
|
||||
|
||||
@ -55,8 +55,8 @@ gboolean virt_cell_loc_equal (VirtualCellLocation vcl1,
|
||||
typedef struct _VirtualLocation VirtualLocation;
|
||||
struct _VirtualLocation {
|
||||
VirtualCellLocation vcell_loc;
|
||||
short phys_row_offset;
|
||||
short phys_col_offset;
|
||||
int phys_row_offset;
|
||||
int phys_col_offset;
|
||||
};
|
||||
|
||||
|
||||
|
@ -207,10 +207,10 @@ typedef void (*VirtCellDataCopy) (gpointer to, gconstpointer from);
|
||||
|
||||
struct _Table
|
||||
{
|
||||
short num_virt_rows;
|
||||
short num_virt_cols;
|
||||
int num_virt_rows;
|
||||
int num_virt_cols;
|
||||
|
||||
short num_header_phys_rows;
|
||||
int num_header_phys_rows;
|
||||
|
||||
CellBlock *current_cursor;
|
||||
|
||||
@ -237,7 +237,7 @@ struct _Table
|
||||
|
||||
/* If positive, denotes a row that marks a boundary that should
|
||||
* be visually distinguished. */
|
||||
short dividing_row;
|
||||
int dividing_row;
|
||||
|
||||
/* private data */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user