Integer overflows possible when creating large images on 32 bit architectures
Bug #1949208 reported by
William Wilson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Released
|
Undecided
|
William Wilson |
Bug Description
Ubuntu Image v2 uses the go-diskfs library, which uses a type int when calculating the offset for the secondary partition table. When creating an image greater than 2.4 Gb, this causes integer overflows when running on 32 bit architectures, such as armhf. The upstream go-diskfs will need to be fixed, and then ubuntu-image updated to pull in those changes.
Changed in ubuntu-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
go-diskfs has merged my pull request: https:/ /github. com/diskfs/ go-diskfs/ commit/ d25f8c810488b19 4ff04b16f5300fd 3f0bf5c8d9