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

Full log


View this message in rfc822 format

From: Danny Darden <ddarden3 <at> patriots.uttyler.edu>
To: 74796 <at> debbugs.gnu.org
Subject: bug#74796: 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 192 days ago.

Previous Next


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