Page MenuHomeFreeBSD

bsddialog(3): fix disabled shadow
ClosedPublic

Authored by asiciliano on Apr 19 2022, 2:02 PM.
Tags
None
Referenced Files
F83113768: D34958.diff
Mon, May 6, 11:36 AM
Unknown Object (File)
Sat, Apr 27, 10:55 AM
Unknown Object (File)
Jan 11 2024, 10:25 AM
Unknown Object (File)
Jan 7 2024, 3:19 AM
Unknown Object (File)
Jan 7 2024, 3:19 AM
Unknown Object (File)
Jan 7 2024, 3:19 AM
Unknown Object (File)
Jan 3 2024, 12:25 PM
Unknown Object (File)
Jan 2 2024, 7:19 PM
Subscribers

Details

Summary

Fix dialogs building and updating segmentation fault with disabled shadow (conf.shadow=false and implicitly bsddialog --no-shadow).
No component in BASE is affected.
Moreover delete WARNS: all warnings were fixed in upstream and imported in 0.2.

Test Plan

Trivial:

-       if (shadow != NULL)
+       if (conf->shadow)

(Probably the error was introduced during the last refactoring to improve the dialogs building process).

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

asiciliano created this revision.
This revision is now accepted and ready to land.Apr 20 2022, 12:37 PM
This revision was automatically updated to reflect the committed changes.