aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2012-08-14 16:06:43 -0700
committerBen Hutchings <ben@decadent.org.uk>2012-09-12 03:37:06 +0100
commit077bfcc044b6ec6f780bc53b206dd1ba10aa2cd3 (patch)
treea401731e97c86199acc55f28d0f9d28ccaf91604 /fs/ext4
parent93478b6b303be51b15e078ddbda862ec39300f4f (diff)
target: fix NULL pointer dereference bug alloc_page() fails to get memory
commit d0e27c88d795fb9647153063ec48051fd84e1731 upstream. I am hitting this bug when the target is low in memory that fails the alloc_page() for the newly submitted command. This is a sort of off-by-one bug causing NULL pointer dereference in __free_page() since 'i' here is really the counter of total pages that have been successfully allocated here. Signed-off-by: Yi Zou <yi.zou@intel.com> Cc: Andy Grover <agrover@redhat.com> Cc: Nicholas Bellinger <nab@linux-iscsi.org> Cc: Open-FCoE.org <devel@open-fcoe.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions