[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701960: busybox awk incorrectly uses FS variable



Package: busybox
Version: 1:1.20.0-7
Severity: important
Tags: upstream fixed-upstream patch pending

busybox implementation of awk splits current line into fields
after assignment to FS (field separator) variable, but POSIX
mandates it does that before the assignment.  This may lead
to valid (according to POSIX) awk scripts being interpreted
incorrectly by busybox awk, which may lead to silent "surprizes".

This has been fixed in upstream commit df8066a78ccd9b899244145f6be0171957a41a1e,
which is a one-line change (plus comment describing what it is all about).


Reply to: