From: Lukas Fleischer Date: Fri, 28 Jun 2013 08:58:14 +0000 (+0000) Subject: Fix section-from-path > 1 X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/86e309fcb5ba64d29821b1e40407a4007e34df75?ds=inline;hp=86e309fcb5ba64d29821b1e40407a4007e34df75 Fix section-from-path > 1 When having found the first path separator occurrence at position i, we invoked strchr() on the same position i in subsequent iterations resulting in the same path separator being returned by strchr() over and over again. Increase the position by one to skip the occurrence that has just been found and advance to the next separator. Reported-by: Konstantin Ryabitsev Signed-off-by: Lukas Fleischer ---