Description[NaCl SDK] nacl_io: handle null irt function pointers
Under pnacl the filename-dev irt interface is not
available which means the "real" pointers end up
being NULL.
Without this fix nacl_io will crash on fist call
to open(2) in the passthrough fs (the default root
filesystem!).
Technically this change is only needed for newlib
today but applying to all libc versions since the
availability of dev interfaces is never guaranteed.
Committed: https://crrev.com/b8bb8fcd9db486a59ecd8e16fd580ca99704e4ad
Cr-Commit-Position: refs/heads/master@{#295414}
Patch Set 1 #
Total comments: 7
Patch Set 2 : #
Messages
Total messages: 10 (2 generated)
|