ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sailaja Polavarapu <spolavar...@hortonworks.com>
Subject Review Request 68170: RANGER-2172: Fixing minor issue with the no. of characters read using sscanf
Date Thu, 02 Aug 2018 19:52:20 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68170/
-----------------------------------------------------------

Review request for ranger.


Bugs: RANGER-2172
    https://issues.apache.org/jira/browse/RANGER-2172


Repository: ranger


Description
-------

Changed code to read only STRLEN-1 characters using sscanf in order to correctly accommodate
the array size.


Diffs
-----

  unixauthnative/src/main/c/credValidator.c 189c2ca5e 
  unixauthpam/src/main/c/pamCredValidator.c 8e3690301 


Diff: https://reviews.apache.org/r/68170/diff/1/


Testing
-------

Tested manually from command line.


Thanks,

Sailaja Polavarapu


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message