The code to replace $wid/$pid died on $foo.
authorMikael Magnusson <mikachu@gmail.com>
Sat, 7 Jun 2008 03:12:04 +0000 (05:12 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Sat, 7 Jun 2008 03:12:44 +0000 (05:12 +0200)
commitb9413b57a5bae2c2aadc7581899695d2d8d9bcd9
treed743832f9f49a233c7c02c78cfb5cf989a9d4ed2
parent7a7db18586ca84318e7da4475e8426fb3d61d7b2
The code to replace $wid/$pid died on $foo.

It failed to increment a variable after finding a $ but no pid or wid,
which led to a fun infinite loop. Also don't check if c[1] is w if we
already established it was p. The code should probably check the length
of the string instead of reading random memory, but how fun is that?
openbox/actions/execute.c