Skip to content
Commit b8227f0b authored by Guillem Jover's avatar Guillem Jover
Browse files

Dpkg::Changelog: Cope gracefully with a missing trailer timestamp

The get_timepiece methods might return an undef value if there was no
timestamp in the trailer. Do not call the Time::Piece epoch method in
that case, as that causes a perl error.

Regression introduced in commit ea22158e.

Closes: #843248


Based-on-patch-by: Ian Jackson's avatarIan Jackson <ijackson@chiark.greenend.org.uk>
parent 4daaec6b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment