FS#35055 - Int overflow in "Total Installed Size" display
Attached to Project:
Pacman
Opened by Isaac Dupree (idupree) - Wednesday, 01 May 2013, 20:50 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 01 May 2013, 20:56 GMT
Opened by Isaac Dupree (idupree) - Wednesday, 01 May 2013, 20:50 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 01 May 2013, 20:56 GMT
|
Details
After going a while without upgrading, pacman -Syu informed
me
"Total Installed Size: -1761.30 MiB" The cause is ./src/pacman/util.c: struct table_row_t { const char *label; int size; }; static void add_transaction_sizes_row(alpm_list_t **table, const char *label, int size) in which these "int size" should be "off_t size" to match the types/sizes of values that are passed to it. |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 01 May 2013, 20:56 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#34616
Wednesday, 01 May 2013, 20:56 GMT
Reason for closing: Duplicate
Additional comments about closing: