WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Segfault if user_text_format doesn't contain any expansion tokens #75

@inferiorhumanorgans

Description

@inferiorhumanorgans

Using either the default %hostname or an explicitly specified value with an expansion token (e.g. %fps) works. If a value is specified in prudynt.cfg that doesn't contain a token prudynt will eventually crash when OSD::set_text calls IMP_OSD_UpdateRgnAttrData.

Typical dmesg output looks like:

[38003.835031] do_page_fault() #2: sending SIGSEGV to p2 for invalid read access from
[38003.835031] 00000002
[38003.835054] epc = 76f77bc8 in libc.so[76f0c000+b8000]
[38003.835087] ra  = 76ebf634 in libimp.so[76dfc000+107000]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions