Bug fix: Interpretation of 17 digit timestamps was wrong.
This commit is contained in:
parent
63c074b0aa
commit
496b8051c5
@ -2,6 +2,7 @@
|
|||||||
bzr branch lp:libisofs/for-libisoburn (to become libisofs-1.4.6.tar.gz)
|
bzr branch lp:libisofs/for-libisoburn (to become libisofs-1.4.6.tar.gz)
|
||||||
===============================================================================
|
===============================================================================
|
||||||
* Bug fix: SIGSEGV by NULL when a data file was larger than ISO level allows.
|
* Bug fix: SIGSEGV by NULL when a data file was larger than ISO level allows.
|
||||||
|
* Bug fix: Interpretation of 17 digit timestamps was wrong.
|
||||||
* New API calls iso_generate_gpt_guid() and +iso_write_opts_set_gpt_guid().
|
* New API calls iso_generate_gpt_guid() and +iso_write_opts_set_gpt_guid().
|
||||||
|
|
||||||
|
|
||||||
|
@ -1823,7 +1823,7 @@ time_t iso_datetime_read_17(const uint8_t *buf)
|
|||||||
tm.tm_mon -= 1;
|
tm.tm_mon -= 1;
|
||||||
tm.tm_isdst = 0;
|
tm.tm_isdst = 0;
|
||||||
|
|
||||||
return timegm(&tm) - ((int8_t)buf[6]) * 60 * 15;
|
return timegm(&tm) - ((int8_t)buf[16]) * 60 * 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user