Project

General

Profile

Actions

Bug #1222

closed

crypt may modify constant data

Added by Rich Lowe almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2011-07-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

crypt(1) will modify constant data if built with -xstrconst or gcc without -fwritable-strings. It forces the key into environment by blatting it into the constant string "CrYpTkEy=XXXXXXXX".

It is distinctly possible that I may retarget this bug to EOF crypt(1), which is, at best, a distraction from any kind of real encryption (and at worse the same whilst also hideously ugly).

Actions #1

Updated by Rich Lowe almost 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100

resolved in r13412 commit:706f98f17323

Actions

Also available in: Atom PDF