Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am makoto on github.
  • I am makoto_inoue (https://keybase.io/makoto_inoue) on keybase.
  • I have a public key ASDWPH9EJ_8hE-iTvOw7KpeuKUOfh94dm098MMdJbqaEngo

To claim this, I am signing this object:

var packet = require('dns-packet')
var axios = require('axios')
let buf = packet.encode({
type: 'query',
id: 1,
flags: packet.RECURSION_DESIRED,
questions: [{
type: 'TXT',
class: 'IN',
> sig.data.toString('hex')
'00100803000151807601bbea59e36fdaa7f7066574686c61620378797a0016105923b2daacf1ce5ffd5c8e25a95f42058ac5808086a8e1510f7aa828609564a85ea5bfb2a5699700a769fd0041e4d729df7ebc6855b8a37425280e7eaaf0'
> sigdata = foo.rrsig.decode(sig.data);
{ typeCovered: 'UNKNOWN_2051',
algorithm: 0,
labels: 1,
originalTTL: 1367373313,
expiration: 3152697827,
... }
> JSON.stringify(sigdata)
var packet = require('dns-packet')
var axios = require('axios')
var buf = packet.encode({
type: 'query',
id: 1,
flags: packet.RECURSION_DESIRED,
questions: [{
type: 'TXT',
class: 'IN',
# game.rb
require 'pry'
class Compare
def self.run(s, o)
s_off = 0
o_off = 0
return 0 if compare(s, s_off, o, o_off) == 0
s_head = ''
o_head = ''
Last login: Tue May 1 22:15:04 on ttys002
makoto@Makotos-Air: [~/work/blockparty - (master)] $ git diff
diff --git a/contracts/Conference.sol b/contracts/Conference.sol
index 9dc9f08..193ec6d 100644
--- a/contracts/Conference.sol
+++ b/contracts/Conference.sol
@@ -98,7 +98,7 @@ contract Conference is Destructible, GroupAdmin {
require(registered < limitOfParticipants);
require(!isRegistered(msg.sender));

Myth output log questions.

Questions

  1. At Log L20, Why _function_0x05f203d9 is not converting function name from hex to ascii? (from the line number, I am guessing it was revoke() function).
  2. At Log L51 is emitting the entire code (and function name is hex) so I cannot identify where the exact problem is.
  3. At Log l235, the report says that function clear() has potential interger overflow at [contract code l58]( https://github.com/makoto/blockparty/blob/master/contracts/Conference.sol#L15
[~/work/blockparty/contracts - (master)] $ myth -x Conference.sol
==== Dependence on predictable environment variable ====
Type: Warning
Contract: Ownable
Function name: clear()
PC address: 5567
In the function `clear()` the following predictable state variables are used to determine Ether recipient:
- block.timestamp
--------------------