GithubHelp home page GithubHelp logo

dahua_sdk_bug's Introduction

DaHua_SDK_Bug

这是大华摄像头SDK传入错误参数导致的未知Bug Demo,Bug 表现为应用中不能存在值为 0 的整型变量,比如 int i = 0, i 会被赋值为 1,int 的包装类 Integer 则不受影响

bug产生位置位于 DaHuaNetUtil 的 isLoginHandlerValid_bug,该方法中调用的大华摄像头SDK方法 QueryRecordState 的第三个参数传入了错误参数 0

点击下图观看演示视频(视频中看到的代码不来自于本Demo,主要用于演示效果): Watch the video

本Demo需要成功登录大华摄像头才能产生bug,项目中SDK来自大华官网的SDK:设备网络SDK\_Android_V3.052.0000002.0.R.201103,摄像头使用的是camera_info

目前该摄像头在大华官网似乎没找到一模一样的型号

dahua_sdk_bug's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.