diff options
Diffstat (limited to 'sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch')
-rw-r--r-- | sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch b/sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch index bacef69f02f8..dacf6ed810f9 100644 --- a/sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch +++ b/sys-kernel/hppa-sources/files/hppa-sources.CAN-2003-0985.patch @@ -5,7 +5,7 @@ new_len = PAGE_ALIGN(new_len); + /* Don't allow the degenerate cases */ -+ if (!(old_len | new_len)) ++ if (!old_len || !new_len) + goto out; + /* new_addr is only valid if MREMAP_FIXED is specified */ |