Fix segfault with "mount -o ro,remount".
authorElliott Hughes <enh@google.com>
Wed, 1 Jul 2015 20:00:06 +0000 (15:00 -0500)
committerRob Landley <rob@landley.net>
Wed, 1 Jul 2015 20:00:06 +0000 (15:00 -0500)
commit8a2c0876754baa2085bce94d6778b5d2f4aee937
tree5efcacf54d2508aa341759844d7940269ce1ed44
parent8c0d2d2bc557ced86650ab48ab92cf58840efce8
Fix segfault with "mount -o ro,remount".

Or any call to comma_scan where 'opt' appears as the last item in 'optlist'.
lib/getmountlist.c
tests/mount.test