GNU bug report logs - #74796
misspelling of color name in .infokey file causes segmentation fault

Previous Next

Package: info;

Reported by: Danny Darden <ddarden3 <at> patriots.uttyler.edu>

Date: Wed, 11 Dec 2024 17:28:01 UTC

Severity: important

Found in version 6.8

To reply to this bug, email your comments to 74796 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to help-debbugs <at> gnu.org:
bug#74796; Package info. (Wed, 11 Dec 2024 17:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Darden <ddarden3 <at> patriots.uttyler.edu>:
New bug report received and forwarded. Copy sent to help-debbugs <at> gnu.org. (Wed, 11 Dec 2024 17:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Darden <ddarden3 <at> patriots.uttyler.edu>
To: "submit <at> debbugs.gnu.org" <submit <at> debbugs.gnu.org>
Subject: misspelling of color name in .infokey file causes segmentation fault
Date: Wed, 11 Dec 2024 15:54:52 +0000
[Message part 1 (text/plain, inline)]
Package: info
Version:  6.8
Severity: important

Error: Segmentation fault (core dumped)
Contents of .infokey file:
#var
link-style=yello
active-link-style=yellow,bold
Match-style=underline,bold,nocolor q

Suggestive fix: Error handling to output either an "error in .infokey format or ignoring .infokey"

Details: adding the w on the end of yello in line 2 resolved the error and the program loaded properly.

Diagnosis: Additionally, the error was reproducible with the color magenta if spelled as "magent" without the a on the end.

Implications: Unknown if the segmentation fault produced by the error can be leveraged to escalate privilege.



[Message part 2 (text/html, inline)]

This bug report was last modified 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.