[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] bash suitable for parsing big files?
From: |
Chris Down |
Subject: |
Re: [Help-bash] bash suitable for parsing big files? |
Date: |
Mon, 16 Sep 2013 00:37:24 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 2013-09-14 04:21, adrelanos wrote:
> This was another fine idea. I am now using:
>
> while read -r package status arch version_with; do
> ...
> done < <(dpkg-query --admindir="$dpkg_status_folder"
> --showformat="\${Package}\t\${db:Status-Abbrev}\t\${Architecture}\t\${Version}\n"
> --show \*)
>
> Is this safe from a security perspective (this is untrusted input) of
> could a malformed dpkg status file containing things like "`$(echo a)`"
> lead to code execution in bash?
That entirely depends on where you are getting these variables from.
pgpW1i2S0XDlr.pgp
Description: PGP signature
- Re: [Help-bash] bash suitable for parsing big files?, (continued)
- Re: [Help-bash] bash suitable for parsing big files?, adrelanos, 2013/09/12
- Re: [Help-bash] bash suitable for parsing big files?, Matthew Cengia, 2013/09/13
- Re: [Help-bash] bash suitable for parsing big files?, adrelanos, 2013/09/13
- Re: [Help-bash] bash suitable for parsing big files?, Matthew Cengia, 2013/09/13
- Re: [Help-bash] bash suitable for parsing big files?, Matthew Cengia, 2013/09/13
- Re: [Help-bash] bash suitable for parsing big files?, adrelanos, 2013/09/14
- Re: [Help-bash] bash suitable for parsing big files?, adrelanos, 2013/09/14
- Re: [Help-bash] bash suitable for parsing big files?, Chris Down, 2013/09/15
- Re: [Help-bash] bash suitable for parsing big files?, Greg Wooledge, 2013/09/13
- Re: [Help-bash] bash suitable for parsing big files?, adrelanos, 2013/09/14
- Re: [Help-bash] bash suitable for parsing big files?,
Chris Down <=
- Re: [Help-bash] bash suitable for parsing big files?, adrelanos, 2013/09/15
- Re: [Help-bash] bash suitable for parsing big files?, Chris Down, 2013/09/15
- Re: [Help-bash] bash suitable for parsing big files?, adrelanos, 2013/09/15
- Re: [Help-bash] bash suitable for parsing big files?, Chris Down, 2013/09/16