[Bugs] [Bug 1138621] Wrong error handling for mmap() syscall in gf-changelog-process.c FILE
bugzilla at redhat.com
bugzilla at redhat.com
Tue Nov 18 02:56:21 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1138621
--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9130 committed in master by Venky Shankar
(vshankar at redhat.com)
------
commit cc57d9bee98270e6e961765716d421bf2f0950d3
Author: Niels de Vos <ndevos at redhat.com>
Date: Sat Nov 15 23:07:04 2014 +0100
changelog: correct mmap() error checking
Upon failure, mmap() returns MAP_FAILED, which is not equal to NULL.
This small correction makes sure that the potential error gets caught
and handled.
BUG: 1138621
Change-Id: I0a88b5187afa7187dcaa8f7d2cb0f9bb775c929d
Reported-by: Santosh Pradhan <santosh.pradhan at gmail.com>
Signed-off-by: Niels de Vos <ndevos at redhat.com>
Reviewed-on: http://review.gluster.org/9130
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Venky Shankar <vshankar at redhat.com>
Tested-by: Venky Shankar <vshankar at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=16D5cEjLx7&a=cc_unsubscribe
More information about the Bugs
mailing list