Bug 250521

Summary: graphics/libansilove: Update to 1.2.7
Product: Ports & Packages Reporter: Juraj Lutter <otis>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (amdmi3)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/ansilove/libansilove
Attachments:
Description Flags
graphics/libansilove: Update to 1.2.7 none

Description Juraj Lutter freebsd_committer freebsd_triage 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 freebsd_committer freebsd_triage 2020-10-23 14:58:57 UTC
Thanks for even looking at this.