Artifact af661fbcc54e9f67445b5d4a95457b14e8fddc6d81bbafe54b7ac47410007518:
This fixes reading over the buffer if it is not zero terminated.
Fortunately, this was almost always the case by pure luck.
by
js on
2017-10-21 20:04:45.
C iOS:\sGet\sthe\slength\sfrom\sthe\sgenerator\n\nThis\sfixes\sreading\sover\sthe\sbuffer\sif\sit\sis\snot\szero\sterminated.\nFortunately,\sthis\swas\salmost\salways\sthe\scase\sby\spure\sluck. D 2017-10-21T20:04:45 F .gitignore b70141527fbd743d8ea853928f4e377c46a6b5c7012ade72a03ef070dde82290 F LegacyPasswordGenerator.h 2ef1978fd758d721823cb56a8524410038f3b51ba038d02be695aeaefc7825e7 F LegacyPasswordGenerator.m 9b014f5aedae2637d34651d6d2f8b91f7c2c430c4a8a357c37fb6cb8a395f946 F Makefile c3d8bf191d199ed19f532ff699446762bb9c7943163f0004a5d1e8b44508b364 F NewPasswordGenerator.h fd9b5734aea11e25140c2800049e9c24bc88d9519d53f93af77b8a11ed7ee171 F NewPasswordGenerator.m 6858c9a024f6dbffe2c2a0ce77a81b78ee88504837303412982756bbfec2df2b F PasswordGenerator.h a21fea91c99fec0ca8c6ea0cbda7447a1399a5481010a041c28603495b030294 F ScryptPWGen.h 03797d977468066115565476fc9ef387b160bd201851765026312566e223292e F ScryptPWGen.m c48c7fa7a22c8f8ae8fe22bf498b42fafcac91ce6755b27388556ec8208b2941 F iOS/AboutController.h 78dc35192c47453838ffb842703cbef5dbb8a0ab1db64cdf4190a9248065ef53 F iOS/AboutController.m d820800e9f6e8537cc1a2e4e5eaed2a7f72745aadb58b5384ecb982211aff69b F iOS/AddSiteController.h 8bcbc823520b2480c2556cb9d44f2d74f4b46a2ca1f1b9d1ced4f5262d05438b F iOS/AddSiteController.m 5dd2aa4de5d8fa427d4bfc4196932b686545e8eedd8159475559bb0fdcd1e798 F iOS/AppDelegate.h 1286ebd308813fbd5de8d1cbca87a3dc42065b8e5e2d9e60bd51496afa7f2f9c F iOS/AppDelegate.m edb40869df88299013c533fb76e30b8e86e937dae162945c42a2a2905e1629d4 F iOS/Assets.xcassets/AppIcon.appiconset/Contents.json ff5b4594a4bcca11ea21c6d45438e1457351091267a8f8b03c2071391acf2fe1 F iOS/Assets.xcassets/AppIcon.appiconset/scrypt-pwgen\s120x120.png 2e92f375f5f03069ac64dfd769a27bcf3bdccb1720835c9fc1c20ff356ead1e9 F iOS/Assets.xcassets/AppIcon.appiconset/scrypt-pwgen\s152x152.png a5defbdee22d086f0a36b23b30972b3df1663b4cb261526ad9e57b65e69212a0 F iOS/Assets.xcassets/AppIcon.appiconset/scrypt-pwgen\s167x167.png 69b69174d42c4592c5d1c32d02044cd23836627267b2b31cffd91af8f85c2703 F iOS/Assets.xcassets/AppIcon.appiconset/scrypt-pwgen\s180x180.png ae547f297a1aca84f50a7cad5ee7d044ef1b703d4061b76e048d0befe4406ccd F iOS/Assets.xcassets/AppIcon.appiconset/scrypt-pwgen\s76x76.png 4acd6dd785ef66baed6eabccadae23114e561834ddbd9712252ffc627ee491e2 F iOS/Assets.xcassets/AppIcon.appiconset/scrypt-pwgen.png 13af327a7865d2e3060bbfd035d6bd35b7e874feb08c2eeafda01225d8ba481a F iOS/Assets.xcassets/Contents.json 654fa358528fa7ad49301bf8dcd35f8d3fce7f0dd98732e666a75c65551c970c F iOS/Base.lproj/LaunchScreen.storyboard 0a21dbcb4c9cafc5f8ba868a71b48850f744c7f72c0e6e2332a3ba7a3b3ebf37 F iOS/Base.lproj/Main.storyboard 93bb709220aa07af9bc07fd5d3edd556609d149dd7028d4e40711bebf051aebd F iOS/Info.plist 6d33f02795d8831e3b5b4002344c58a663dc7cec3259fcb2d0cbba5689099ce6 F iOS/MainViewController.h f6c81971cac88047dcc44ac6ff03905d314f14e45fbd0b2e95b8599114db4f9e F iOS/MainViewController.m a1b1e36e46130678305071a52dc05c92acf03c9a1d208cfc28c62dd34a7a54a7 F iOS/ShowDetailsController.h e5d1d1c4ed05da553ef388515d7c0d35af59b6bd71a408dae94628e7c72dc89a F iOS/ShowDetailsController.m 728614f00a37a2b8d976226fee63c3082cd3375c4ccd1b6db531267fee73d9db F iOS/SiteStorage.h 0d8dca83ece147ef3303ac765c3c3638b0095f1f0c4bf5eeeb46db26251d75d0 F iOS/SiteStorage.m 5a420f4ea213c75ed0ffb42841869701617a11a165f35c67c940b85c3070bbc9 F iOS/main.m f2227d698c9b2acf622225d6e774ae4588100f028657f0ac7a024117a3e95733 F iOS/scrypt-pwgen.xcodeproj/project.pbxproj e1d494a902757409c9c949e13321711e4c98516b4a14ac38fac223deef47c957 P d444c9ace7ad85f396a90bdd509da182c59d0807bef8872ca78da77435d95835 U js Z 0ba76bc8689bb4494ef4272b80820faf