aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/STLUtil.hh
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2011-10-28 21:21:00 (GMT)
committerRyan Pavlik <rpavlik@iastate.edu>2011-10-31 15:44:11 (GMT)
commit757f78035da77fb84ad4ab479506f494353029d1 (patch)
tree5609e73516d75ab4c9d1b47ac34fa72f453d7729 /src/FbTk/STLUtil.hh
parent1ba4fbe8785a7acf3c4cab6de556929e8f5375b9 (diff)
downloadfluxbox-757f78035da77fb84ad4ab479506f494353029d1.zip
fluxbox-757f78035da77fb84ad4ab479506f494353029d1.tar.bz2
FbTk/StringUtil.cc: Fix out-of-range memory access.
if pos is not npos, it will always be less than filename.size(). However, the access later is only safe if there is a character after pos, which would require pos + 1 to be less than filename.size.
Diffstat (limited to 'src/FbTk/STLUtil.hh')
0 files changed, 0 insertions, 0 deletions