Commit c550580e authored by Sami Tolvanen's avatar Sami Tolvanen
Browse files

mkbootimg: use int for os_version and os_patch_level

The parse_int function attempts to interpret the string to detect
base, which leads to it assuming strings starting with 0 are base
8. This obviously fails for certain dates, so use int instead.

Bug: 27498078
Bug: 22914603
Change-Id: I50b1fb3d7876f2ec17d00649cc9a2d23af2aec2b
(cherry picked from commit 294eb9dac3c06a37bc1c9547fa8a26bcf4cdc749)
parent 35c02017
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment