summaryrefslogtreecommitdiff
path: root/libudev/libudev-monitor.c
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2010-03-02 17:06:33 -0500
committerDavid Zeuthen <davidz@redhat.com>2010-03-02 17:06:33 -0500
commitecd42de2c56b4fcf0069b8b4a4d6607710e5de61 (patch)
treedce28b5ed62ed770499f76d4feb186a0155d04f6 /libudev/libudev-monitor.c
parentda96a11b9c9164447bef206db47c405342ab8daa (diff)
Decrease buffer size when advancing past NUL byte
Otherwise we'll overflow the buffer if space is tight. Also add a comment explaining this. Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'libudev/libudev-monitor.c')
0 files changed, 0 insertions, 0 deletions