linux-sunxi/cedarx-libs — pull request #3 by warped-rudi (2013-06-23 15:00:19+00:00)
Title: fix crash when CedarX registers are located abof 0x7fffffff

When the hardware registers of the CedarX are located on physical addresses above 0x7fffffff, the last argument of mmap() becomes negative. This causes mmap() to fail and since there is no error checking, libcedarx will crash.