Bug 250521 - graphics/libansilove: Update to 1.2.7
Summary: graphics/libansilove: Update to 1.2.7
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL: https://github.com/ansilove/libansilove
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-22 07:30 UTC by Juraj Lutter
Modified: 2020-10-23 14:58 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments
graphics/libansilove: Update to 1.2.7 (1.49 KB, patch)
2020-10-22 07:30 UTC, Juraj Lutter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juraj Lutter 2020-10-22 07:30:21 UTC
Created attachment 218966 [details]
graphics/libansilove: Update to 1.2.7

Hi,

please find the patch attached.

Changelog for 1.2.7:
- Error out early with ANSILOVE_FORMAT_ERROR in case ctx->length is 0
- Enable FORTIFY_SOURCE level 2
- Set CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt
- Move variables declaration to the top of each loader function
- Initialize ansi_buffer and pcboard_buffer to NULL
- Refactor the IceDraw loader to use a state machine
- Check strndup() return value and error out on failed allocations
- Add some file format integrity checks in the IceDraw loader
- Add range integrity checks for scale_factor values in the output() function
- Return error code directly if ctx->length is 0 in the ANSI and PCBoard loaders
- Add range integrity checks for columns value in relevant loaders
- Add range integrity checks for bits value in relevant loaders
- Add additional file format integrity check in the XBin loader

Testport results:
https://freebsd-stable.builder.wilbury.net/data/11_4_RELEASE_GENERIC-default/2020-10-22_08h20m18s/logs/libansilove-1.2.7.log

https://freebsd-stable.builder.wilbury.net/data/12_STABLE_GENERIC_amd64-default/2020-10-22_08h32m26s/logs/libansilove-1.2.7.log

https://freebsd-current.builder.wilbury.net/data/13cgx64-default/2020-10-22_08h27m48s/logs/libansilove-1.2.6.log
Comment 1 Juraj Lutter 2020-10-23 14:58:57 UTC
Thanks for even looking at this.