lp:mksh

Created by Thorsten Glaser and last modified

Main code repository of The MirBSD Korn Shell

Get this branch:
bzr branch lp:mksh

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thorsten Glaser
Project:
mksh
Status:
Mature

Import details

Import Status: Reviewed

This branch is an import of the CVS module mksh from :ext:_anoncvs@anoncvs.mirbsd.org:/cvs.

The next import is scheduled to run .

Last successful import was .

Import started on izar and finished taking 20 seconds — see the log
Import started on izar and finished taking 20 seconds — see the log
Import started on alnitak and finished taking 20 seconds — see the log
Import started on alnitak and finished taking 25 seconds — see the log
Import started on alnitak and finished taking 20 seconds — see the log
Import started on izar and finished taking 20 seconds — see the log
Import started on alnitak and finished taking 20 seconds — see the log
Import started on alnitak and finished taking 20 seconds — see the log
Import started on izar and finished taking 20 seconds — see the log
Import started on izar and finished taking 20 seconds — see the log

Whiteboard

20100709 maxb Approved
20100709 maxb It looks like we'll need the LOSAs to manually accept the ssh host key, suspending for now - pending https://answers.launchpad.net/launchpad-code/+question/117193
20110610 mirabilos Imported fine, thanks!
20120216 mirabilos Fixed server-side error w.r.t. the modules file, import may be unfailed again

Recent revisions

3118. By tg on 2021-05-12

small code reordering

pessimise unusual cases, optimise common cases

code note: inquote is only inquote in the “if (c == 0)” block;
before, it’s “don’t quote”, and the else branch does not use it at all

3117. By tg on 2021-05-12

fuck shit Wikipedia fuckers

3116. By tg on 2021-05-05

klibc has SYSV setjmp as sigsetjmp(!), cf. Debian #988027, and
BSD _setjmp (not saving the signal mask) as setjmp…

3115. By tg on 2021-05-03

clear IMPORT flag on most actions mutating a variable

3114. By tg on 2021-05-02

document character classes

3113. By tg on 2021-05-02

fix both proper escaping and tab completion for curly braces and tilde

3112. By tg on 2021-05-02

factor out strndupx-but-maybe-into-a-small-stack-buffer as strnbdupx

and use this in arraybase() to reduce malloc pressure

3111. By tg on 2021-05-02

fix token state corruption during yylex(), namely when its interna call the
interactive command line editing and during t̲h̲a̲t̲ evaluate-region is called,
which uses the parser… so, the latter is now f̲i̲n̲a̲l̲l̲y̲ ripe for production 🎉

3110. By tg on 2021-05-02

plug another memory leak

3109. By tg on 2021-05-02

harden conversion of imported variables to integer, like Perl “taint”:

• factor out parse code for integers with bases
• call that instead of checking for digits for array indicēs so we
  can use foo[0x123]=bar in importing, like ksh93; FPOSIX only shows
  up later, so we do without there
• check when converting imported variables to integers, like ksh93
  did for CVE-2019-14868 except we d̲o̲ honour FPOSIX octals here

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers